Corrected 'unsafe-reset-all' help text (#7504)
This commit is contained in:
parent
c7d926da2d
commit
61d5844705
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue