tl;dr: Current encoding in amino: amino's int32 matches protobuf's zigzag32 (which is an sint32 in the proto file and which generates a int32 but zigzag32 encoded in go-lang)
Desired behaviour: default e.g., int32 encoding to protobuf's varint encoding (which is a int32 in the proto file and which also generates a int32 in go-lang but varint encoded)
Summary of proposed changes: https://github.com/tendermint/tendermint/issues/2684
tl;dr: Current encoding in amino: amino's
int32
matches protobuf'szigzag32
(which is ansint32
in the proto file and which generates aint32
butzigzag32
encoded in go-lang) Desired behaviour: default e.g.,int32
encoding to protobuf'svarint
encoding (which is aint32
in the proto file and which also generates aint32
in go-lang butvarint
encoded)