Corrected 'unsafe-reset-all' help text (#7504)

This commit is contained in:
Neeraj Murarka 2020-10-10 04:02:12 -07:00 committed by GitHub
parent c7d926da2d
commit 61d5844705
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -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)