Skip to content

Commit

Permalink
Revert "Merge PR cosmos#6285: Registered upgrade module tx commands" (c…
Browse files Browse the repository at this point in the history
…osmos#6286)

This reverts commit 053b38c.
  • Loading branch information
alexanderbez authored May 27, 2020
1 parent 053b38c commit 7144ace
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions x/upgrade/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 7144ace

Please sign in to comment.