You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 22, 2019. It is now read-only.
In go-amino, it seemed that they encode int32, 64 to fixed length when users define variables with fixed option.
But js-amino encode int32, 64 to fixed length by default.
I think it is better to encode int32, 64 to varint by default, and support options that encode int32, 64 to fixed length.
The text was updated successfully, but these errors were encountered:
Result is
https://github.com/tendermint/go-amino/blob/master/codec.go#L521
https://github.com/tendermint/go-amino/blob/master/binary-encode.go#L89
In go-amino, it seemed that they encode int32, 64 to fixed length when users define variables with fixed option.
But js-amino encode int32, 64 to fixed length by default.
I think it is better to encode int32, 64 to varint by default, and support options that encode int32, 64 to fixed length.
The text was updated successfully, but these errors were encountered: