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
Currently we're using a lot of json.Marshal and json.Unmarshal inside genesis-related methods (eg. DefaultGenesis, VerifyGenesis and InitGenesis). This is done due to cosmos/cosmos-sdk#8333.
Although it works, it makes it incredibly hard to manage things, as we need to always remember what to use (json vs cdc).
Implementation proposal
I think we should remove all the gogoproto.jsontag usage from our Proto file definitions, and revert to using only cdc instead. This would make it easier and simplify a lot of things in the future.
The text was updated successfully, but these errors were encountered:
Context
Currently we're using a lot of
json.Marshal
andjson.Unmarshal
inside genesis-related methods (eg.DefaultGenesis
,VerifyGenesis
andInitGenesis
). This is done due to cosmos/cosmos-sdk#8333.Although it works, it makes it incredibly hard to manage things, as we need to always remember what to use (
json
vscdc
).Implementation proposal
I think we should remove all the
gogoproto.jsontag
usage from our Proto file definitions, and revert to using onlycdc
instead. This would make it easier and simplify a lot of things in the future.The text was updated successfully, but these errors were encountered: