Revert "Merge PR #6285: Registered upgrade module tx commands" (#6286)

This reverts commit 053b38cca2.
This commit is contained in:
Alexander Bezobchuk
2020-05-27 15:39:59 +00:00
committed by GitHub
parent 053b38cca2
commit 7144ace6b3
+2 -5
View File
@@ -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
}