Skip to content

Commit

Permalink
Corrected 'unsafe-reset-all' help text (cosmos#7504)
Browse files Browse the repository at this point in the history
  • Loading branch information
njmurarka authored Oct 10, 2020
1 parent c7d926d commit 61d5844
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/tm_cmds.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions x/ibc/applications/transfer/keeper/relay.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions x/ibc/core/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion x/ibc/light-clients/07-tendermint/types/upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 61d5844

Please sign in to comment.