From 277d9aac0ecbf4a270d50ed725c3b28be8871089 Mon Sep 17 00:00:00 2001 From: Sai Kumar Date: Wed, 9 Mar 2022 10:39:57 +0530 Subject: [PATCH 1/2] fix: fix the `show-address` cli cmd --- server/tm_cmds.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/tm_cmds.go b/server/tm_cmds.go index 896380878116..8ffe250ed2a0 100644 --- a/server/tm_cmds.go +++ b/server/tm_cmds.go @@ -78,7 +78,7 @@ func ShowAddressCmd() *cobra.Command { serverCtx := GetServerContextFromCmd(cmd) cfg := serverCtx.Config - privValidator, err := pvm.LoadFilePV(cfg.PrivValidator.Key, cfg.PrivValidator.State) + privValidator, err := pvm.LoadFilePV(cfg.PrivValidator.KeyFile(), cfg.PrivValidator.StateFile()) if err != nil { return err } From ea7caeb606e3bb44446aacdd4aba8184978fff83 Mon Sep 17 00:00:00 2001 From: Sai Kumar Date: Wed, 9 Mar 2022 10:42:30 +0530 Subject: [PATCH 2/2] update the changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 715f51705d3f..ac0a13ddeda8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -220,6 +220,7 @@ Ref: https://keepachangelog.com/en/1.0.0/ * [#11229](https://github.com/cosmos/cosmos-sdk/pull/11229) Handled the error message of `transaction encountered error` from tendermint. * (x/authz) [\#11252](https://github.com/cosmos/cosmos-sdk/pull/11252) Allow insufficient funds error for authz simulation * (cli) [\#11313](https://github.com/cosmos/cosmos-sdk/pull/11313) Fixes `--gas auto` when executing CLI transactions in `--generate-only` mode +* (cli) [\#11337](https://github.com/cosmos/cosmos-sdk/pull/11337) Fixes `show-adress` cli cmd ### State Machine Breaking