From 893f2262a7ccc8584be4968f0416f52f0c239927 Mon Sep 17 00:00:00 2001 From: Cory Date: Tue, 5 Jan 2021 14:52:49 -0800 Subject: [PATCH] Fix upgrade tx commands not showing up in CLI (#8261) * add upgrade tx subcommands to cli * update CLI help to direct to cosmovisor repo --- x/upgrade/client/cli/tx.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/x/upgrade/client/cli/tx.go b/x/upgrade/client/cli/tx.go index 1a341914e3..b6930d1c9f 100644 --- a/x/upgrade/client/cli/tx.go +++ b/x/upgrade/client/cli/tx.go @@ -30,6 +30,11 @@ func GetTxCmd() *cobra.Command { Short: "Upgrade transaction subcommands", } + cmd.AddCommand( + NewCmdSubmitUpgradeProposal(), + NewCmdSubmitCancelUpgradeProposal(), + ) + return cmd } @@ -41,7 +46,7 @@ func NewCmdSubmitUpgradeProposal() *cobra.Command { Short: "Submit a software upgrade proposal", Long: "Submit a software upgrade along with an initial deposit.\n" + "Please specify a unique name and height OR time for the upgrade to take effect.\n" + - "You may include info to reference a binary download link, in a format compatible with: https://github.com/regen-network/cosmosd", + "You may include info to reference a binary download link, in a format compatible with: https://github.com/cosmos/cosmos-sdk/tree/master/cosmovisor", RunE: func(cmd *cobra.Command, args []string) error { clientCtx, err := client.GetClientTxContext(cmd) if err != nil {