From 61d58447055865fd181ca49d99c4c069c817b704 Mon Sep 17 00:00:00 2001 From: Neeraj Murarka Date: Sat, 10 Oct 2020 04:02:12 -0700 Subject: [PATCH] Corrected 'unsafe-reset-all' help text (#7504) --- server/tm_cmds.go | 2 +- x/ibc/applications/transfer/keeper/relay.go | 1 + x/ibc/core/handler.go | 1 + x/ibc/light-clients/07-tendermint/types/upgrade_test.go | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/server/tm_cmds.go b/server/tm_cmds.go index 95b1c6fa4..d6c8b665f 100644 --- a/server/tm_cmds.go +++ b/server/tm_cmds.go @@ -146,7 +146,7 @@ func printlnJSON(v interface{}) error { func UnsafeResetAllCmd() *cobra.Command { return &cobra.Command{ Use: "unsafe-reset-all", - Short: "Resets the blockchain database, removes address book files, and resets priv_validator.json to the genesis state", + Short: "Resets the blockchain database, removes address book files, and resets data/priv_validator_state.json to the genesis state", RunE: func(cmd *cobra.Command, args []string) error { serverCtx := GetServerContextFromCmd(cmd) cfg := serverCtx.Config diff --git a/x/ibc/applications/transfer/keeper/relay.go b/x/ibc/applications/transfer/keeper/relay.go index 45a51a9a2..c9bc4470d 100644 --- a/x/ibc/applications/transfer/keeper/relay.go +++ b/x/ibc/applications/transfer/keeper/relay.go @@ -4,6 +4,7 @@ import ( "strings" "github.com/armon/go-metrics" + "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" diff --git a/x/ibc/core/handler.go b/x/ibc/core/handler.go index 3d3ea6280..684a7c6a1 100644 --- a/x/ibc/core/handler.go +++ b/x/ibc/core/handler.go @@ -2,6 +2,7 @@ package ibc import ( "github.com/armon/go-metrics" + "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" diff --git a/x/ibc/light-clients/07-tendermint/types/upgrade_test.go b/x/ibc/light-clients/07-tendermint/types/upgrade_test.go index bad73aaba..f5debb01a 100644 --- a/x/ibc/light-clients/07-tendermint/types/upgrade_test.go +++ b/x/ibc/light-clients/07-tendermint/types/upgrade_test.go @@ -104,7 +104,7 @@ func (suite *TendermintTestSuite) TestVerifyUpgrade() { expPass: false, }, { - name: "unsuccessful upgrade: chain-specified paramaters do not match committed client", + name: "unsuccessful upgrade: chain-specified parameters do not match committed client", setup: func() { upgradedClient = types.NewClientState("newChainId", types.DefaultTrustLevel, trustingPeriod, ubdPeriod+trustingPeriod, maxClockDrift, newClientHeight, ibctesting.DefaultConsensusParams, commitmenttypes.GetSDKSpecs(), upgradePath, false, false)