diff --git a/cmd/chain-maind/app/app.go b/cmd/chain-maind/app/app.go index c9824fddf..a269d7c36 100644 --- a/cmd/chain-maind/app/app.go +++ b/cmd/chain-maind/app/app.go @@ -78,7 +78,6 @@ func NewRootCmd() (*cobra.Command, params.EncodingConfig) { cmd.SetOut(cmd.OutOrStdout()) cmd.SetErr(cmd.ErrOrStderr()) - //nolint: govet initClientCtx, err := client.ReadPersistentCommandFlags(initClientCtx, cmd.Flags()) if err != nil { return err diff --git a/x/chainmain/client/cli/genaccounts.go b/x/chainmain/client/cli/genaccounts.go index d303eb084..999584710 100644 --- a/x/chainmain/client/cli/genaccounts.go +++ b/x/chainmain/client/cli/genaccounts.go @@ -58,7 +58,6 @@ contain valid denominations. Accounts may optionally be supplied with vesting pa } // attempt to lookup address from Keybase if no address was provided - //nolint: govet kb, err := keyring.New(sdk.KeyringServiceName(), keyringBackend, clientCtx.HomeDir, inBuf, clientCtx.Codec) if err != nil { return err @@ -149,7 +148,6 @@ contain valid denominations. Accounts may optionally be supplied with vesting pa genAccount = baseAccount } - //nolint: govet if err := genAccount.Validate(); err != nil { return fmt.Errorf("failed to validate new genesis account: %w", err) } diff --git a/x/nft/client/cli/query.go b/x/nft/client/cli/query.go index 1d26cb5fe..5b6f95e91 100644 --- a/x/nft/client/cli/query.go +++ b/x/nft/client/cli/query.go @@ -96,8 +96,6 @@ func GetCmdQueryOwner() *cobra.Command { if err != nil { return err } - - //nolint: govet if _, err := sdk.AccAddressFromBech32(args[0]); err != nil { return err } @@ -140,8 +138,6 @@ func GetCmdQueryCollection() *cobra.Command { if err != nil { return err } - - //nolint: govet if err := types.ValidateDenomIDWithIBC(args[0]); err != nil { return err } @@ -210,8 +206,6 @@ func GetCmdQueryDenom() *cobra.Command { if err != nil { return err } - - //nolint: govet if err := types.ValidateDenomIDWithIBC(args[0]); err != nil { return err } @@ -245,7 +239,6 @@ func GetCmdQueryDenomByName() *cobra.Command { return err } - //nolint: govet if err := types.ValidateDenomName(args[0]); err != nil { return err } @@ -279,12 +272,10 @@ func GetCmdQueryNFT() *cobra.Command { return err } - //nolint: govet if err := types.ValidateDenomIDWithIBC(args[0]); err != nil { return err } - //nolint: govet if err := types.ValidateTokenID(args[1]); err != nil { return err }