Standarize deposit representation in governance proposal files #5783
Labels
C:CLI
C:x/gov
good first issue
help wanted
T: API Breaking
Breaking changes that impact APIs and the SDK only (not state machine).
Different Proposal type files represent deposits differently.
For example, Text Proposals have use the string version of an sdk.Coin (i.e. 10uatom) while ParamChange Proposals use the JSON version (i.e. { "denom": "stake", "amount": "10000"})
https://github.com/cosmos/cosmos-sdk/blob/master/x/gov/client/cli/tx.go#L92
https://github.com/cosmos/cosmos-sdk/blob/master/x/params/client/cli/tx.go#L44
For Admin Use
The text was updated successfully, but these errors were encountered: