Skip to content

Account-id type used as int64 instead of uint64 #13410

@atheeshp

Description

Summary of Bug

int64 range : -2^63 to 2^63-1
uint64 range: 0 to 2^64-1

https://github.com/cosmos/cosmos-sdk/blob/main/x/auth/keeper/grpc_query.go#L22-L38
Here we are converting (ingnoring -ve values) the int64 values to uint64, that limits the range to 0 to 2^63-1

Version

main

Steps to Reproduce

Metadata

Assignees

Labels

T: Proto BreakingProtobuf breaking changes: never don't do this!T: UX

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions