From e6dd5ca8a989f86b3323337c0bf1f04569adf8ff Mon Sep 17 00:00:00 2001 From: preminem Date: Sat, 12 Oct 2019 14:37:56 +0800 Subject: [PATCH] Add change log --- CHANGELOG.md | 1 + x/staking/client/rest/tx.go | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bf900b7b085f..ee98a9322c53 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -324,6 +324,7 @@ that error is that the account doesn't exist. * [\#4843](https://github.com/cosmos/cosmos-sdk/issues/4843) Add RegisterEvidences function in the codec package to register Tendermint evidence types with a given codec. * (rest) [\#3867](https://github.com/cosmos/cosmos-sdk/issues/3867) Allow querying for genesis transaction when height query param is set to zero. +* (rest) [\#5113](https://github.com/cosmos/cosmos-sdk/issues/5113) Add CreateValidatorHandlerFn and EditValidatorHandlerFn in REST. * [\#2020](https://github.com/cosmos/cosmos-sdk/issues/2020) New keys export/import command line utilities to export/import private keys in ASCII format that rely on Keybase's new underlying ExportPrivKey()/ImportPrivKey() API calls. * [\#3565](https://github.com/cosmos/cosmos-sdk/issues/3565) Implement parameter change proposal support. diff --git a/x/staking/client/rest/tx.go b/x/staking/client/rest/tx.go index ff08b316382a..963711d6deb1 100644 --- a/x/staking/client/rest/tx.go +++ b/x/staking/client/rest/tx.go @@ -53,8 +53,8 @@ type ( BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` ValidatorAddress sdk.ValAddress `json:"address" yaml:"address"` Description types.Description `json:"description" yaml:"description"` - CommissionRate *sdk.Dec `json:"commission_rate" yaml:"commission_rate"` - MinSelfDelegation *sdk.Int `json:"min_self_delegation" yaml:"min_self_delegation"` + CommissionRate sdk.Dec `json:"commission_rate" yaml:"commission_rate"` + MinSelfDelegation sdk.Int `json:"min_self_delegation" yaml:"min_self_delegation"` } // DelegateRequest defines the properties of a delegation request's body.