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
Thus a nil (default) valued LegacyDec is not recoverable after marshaling. Importantly, this impacts Amino JSON marshaling and signing, which must be deterministic because the two types marshal to JSON differently:
Yea.. those issues are pointing to the same thing. I missed them when briefly searching for existing issues (sometimes they're hard to find). At least we should document it with a test.
Is there an existing issue for this?
What happened?
#21806 documents this behavior as a test. Briefly:
Thus a nil (default) valued
LegacyDec
is not recoverable after marshaling. Importantly, this impacts Amino JSON marshaling and signing, which must be deterministic because the two types marshal to JSON differently:Cosmos SDK Version
main
How to reproduce?
see #21806
The text was updated successfully, but these errors were encountered: