diff --git a/CHANGELOG.md b/CHANGELOG.md index 94ea5facfbf9..56f65c1a34bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -39,6 +39,7 @@ Ref: https://keepachangelog.com/en/1.0.0/ ### Client Breaking +* (x/gov) [#6295](https://github.com/cosmos/cosmos-sdk/pull/6295) Fix typo in querying governance params. * (x/auth) [\#6054](https://github.com/cosmos/cosmos-sdk/pull/6054) Remove custom JSON marshaling for base accounts as multsigs cannot be bech32 decoded. * (modules) [\#5572](https://github.com/cosmos/cosmos-sdk/pull/5572) The `/bank/balances/{address}` endpoint now returns all account balances or a single balance by denom when the `denom` query parameter is present. diff --git a/x/gov/types/params.go b/x/gov/types/params.go index 511485bfa1eb..087e17217237 100644 --- a/x/gov/types/params.go +++ b/x/gov/types/params.go @@ -193,7 +193,7 @@ func validateVotingParams(i interface{}) error { type Params struct { VotingParams VotingParams `json:"voting_params" yaml:"voting_params"` TallyParams TallyParams `json:"tally_params" yaml:"tally_params"` - DepositParams DepositParams `json:"deposit_params" yaml:"deposit_parmas"` + DepositParams DepositParams `json:"deposit_params" yaml:"deposit_params"` } func (gp Params) String() string { diff --git a/x/staking/types/params.go b/x/staking/types/params.go index 6a00f4625bc4..4b1e98ee7d1e 100644 --- a/x/staking/types/params.go +++ b/x/staking/types/params.go @@ -35,7 +35,7 @@ const ( var ( KeyUnbondingTime = []byte("UnbondingTime") KeyMaxValidators = []byte("MaxValidators") - KeyMaxEntries = []byte("KeyMaxEntries") + KeyMaxEntries = []byte("MaxEntries") KeyBondDenom = []byte("BondDenom") KeyHistoricalEntries = []byte("HistoricalEntries") )