diff --git a/x/upgrade/module.go b/x/upgrade/module.go index 7edb4a610d..d0a8ee5197 100644 --- a/x/upgrade/module.go +++ b/x/upgrade/module.go @@ -65,15 +65,12 @@ func (AppModuleBasic) GetQueryCmd(cdc *codec.Codec) *cobra.Command { } // GetTxCmd returns the transaction commands for this module -func (AppModuleBasic) GetTxCmd(ctx context.CLIContext) *cobra.Command { +func (AppModuleBasic) GetTxCmd(_ context.CLIContext) *cobra.Command { txCmd := &cobra.Command{ Use: "upgrade", Short: "Upgrade transaction subcommands", } - txCmd.AddCommand(flags.PostCommands( - cli.NewCmdSubmitUpgradeProposal(ctx), - cli.NewCmdSubmitCancelUpgradeProposal(ctx), - )...) + txCmd.AddCommand(flags.PostCommands()...) return txCmd }