diff --git a/baseapp/utils_test.go b/baseapp/utils_test.go index 011fd31fa4..c1798e342e 100644 --- a/baseapp/utils_test.go +++ b/baseapp/utils_test.go @@ -432,7 +432,6 @@ func setFailOnHandler(cfg client.TxConfig, tx signing.Tx, fail bool) signing.Tx func wonkyMsg(t *testing.T, cfg client.TxConfig, tx signing.Tx) signing.Tx { t.Helper() - t.Helper() builder := cfg.NewTxBuilder() builder.SetMemo(tx.GetMemo()) diff --git a/client/flags/flags.go b/client/flags/flags.go index fd6d25e04f..cf1a40b1cb 100644 --- a/client/flags/flags.go +++ b/client/flags/flags.go @@ -130,7 +130,7 @@ func AddTxFlagsToCmd(cmd *cobra.Command) { f.String(FlagGasPrices, "", "Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom)") f.String(FlagNode, "tcp://localhost:26657", ": to CometBFT rpc interface for this chain") f.Bool(FlagUseLedger, false, "Use a connected Ledger device") - f.Float64(FlagGasAdjustment, DefaultGasAdjustment, "adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored ") + f.Float64(FlagGasAdjustment, DefaultGasAdjustment, "adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored") f.StringP(FlagBroadcastMode, "b", BroadcastSync, "Transaction broadcasting mode (sync|async)") f.Bool(FlagDryRun, false, "ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible)") f.Bool(FlagGenerateOnly, false, "Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name)") diff --git a/client/keys/mnemonic.go b/client/keys/mnemonic.go index 58e1ee9715..5a8064bf64 100644 --- a/client/keys/mnemonic.go +++ b/client/keys/mnemonic.go @@ -17,7 +17,7 @@ const ( mnemonicEntropySize = 256 ) -// MnemonicKeyCommand computes the bip39 memonic for input entropy. +// MnemonicKeyCommand computes the bip39 mnemonic for input entropy. func MnemonicKeyCommand() *cobra.Command { cmd := &cobra.Command{ Use: "mnemonic", diff --git a/client/tx/tx.go b/client/tx/tx.go index 044e52819e..8eb4c99280 100644 --- a/client/tx/tx.go +++ b/client/tx/tx.go @@ -242,10 +242,10 @@ func checkMultipleSigners(tx authsigning.Tx) error { return nil } -// Sign signs a given tx with a named key. The bytes signed over are canconical. +// Sign signs a given tx with a named key. The bytes signed over are canonical. // The resulting signature will be added to the transaction builder overwriting the previous // ones if overwrite=true (otherwise, the signature will be appended). -// Signing a transaction with mutltiple signers in the DIRECT mode is not supported and will +// Signing a transaction with multiple signers in the DIRECT mode is not supported and will // return an error. // An error is returned upon failure. func Sign(ctx context.Context, txf Factory, name string, txBuilder client.TxBuilder, overwriteSig bool) error { diff --git a/client/tx/tx_test.go b/client/tx/tx_test.go index 3f11b2a5fb..3f1a4a686e 100644 --- a/client/tx/tx_test.go +++ b/client/tx/tx_test.go @@ -315,7 +315,7 @@ func TestSign(t *testing.T) { /**** test double sign Direct mode signing transaction with 2 or more DIRECT signers should fail in DIRECT mode ****/ { - "direct: should append a DIRECT signature with existing AMINO", + "direct: should append a DIRECT signature with existing AMINO", // txb already has 1 AMINO signature txfDirect, txb, from1, false, []cryptotypes.PubKey{pubKey2, pubKey1}, diff --git a/client/v2/autocli/flag/doc.go b/client/v2/autocli/flag/doc.go index 5e8a1f365d..84b1b9e4a7 100644 --- a/client/v2/autocli/flag/doc.go +++ b/client/v2/autocli/flag/doc.go @@ -1,4 +1,4 @@ // Package flag defines functionality for automatically managing command -// line flags as well positional arguments that are based on protobuf message +// line flags as well as positional arguments that are based on protobuf message // fields. package flag diff --git a/client/v2/autocli/query_test.go b/client/v2/autocli/query_test.go index 1eae3f3a8d..4983c9e53b 100644 --- a/client/v2/autocli/query_test.go +++ b/client/v2/autocli/query_test.go @@ -575,7 +575,7 @@ func TestBinaryFlag(t *testing.T) { } func TestAddressValidation(t *testing.T) { - t.Skip() // TODO(@julienrbrt) re-able with better keyring instiantiation + t.Skip() // TODO(@julienrbrt) re-able with better keyring instantiation fixture := initFixture(t)