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

This reverts commit 053b38cca2.
This commit is contained in:
Alexander Bezobchuk 2020-05-27 11:39:59 -04:00 committed by GitHub
parent 053b38cca2
commit 7144ace6b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 5 deletions

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
}