From 7144ace6b33e5860907815597db0ac6fa8dc5a8d Mon Sep 17 00:00:00 2001 From: Alexander Bezobchuk Date: Wed, 27 May 2020 11:39:59 -0400 Subject: [PATCH] Revert "Merge PR #6285: Registered upgrade module tx commands" (#6286) This reverts commit 053b38cca21bc40a160c7fc59772e210f4cc6900. --- x/upgrade/module.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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 }