From 13bade22028889eb5af789dcafd6343d050f8b84 Mon Sep 17 00:00:00 2001 From: Cory Date: Tue, 5 Jan 2021 21:34:39 -0800 Subject: [PATCH 1/2] Revert "Fix upgrade tx commands not showing up in CLI (#8261)" This reverts commit 893f2262a7ccc8584be4968f0416f52f0c239927. --- x/upgrade/client/cli/tx.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/x/upgrade/client/cli/tx.go b/x/upgrade/client/cli/tx.go index b6930d1c9ff0..1a341914e32a 100644 --- a/x/upgrade/client/cli/tx.go +++ b/x/upgrade/client/cli/tx.go @@ -30,11 +30,6 @@ func GetTxCmd() *cobra.Command { Short: "Upgrade transaction subcommands", } - cmd.AddCommand( - NewCmdSubmitUpgradeProposal(), - NewCmdSubmitCancelUpgradeProposal(), - ) - return cmd } @@ -46,7 +41,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/cosmos/cosmos-sdk/tree/master/cosmovisor", + "You may include info to reference a binary download link, in a format compatible with: https://github.com/regen-network/cosmosd", RunE: func(cmd *cobra.Command, args []string) error { clientCtx, err := client.GetClientTxContext(cmd) if err != nil { From 68ff18bfec20c6e559629c7d79b7a9d5d808d36f Mon Sep 17 00:00:00 2001 From: Cory Date: Wed, 6 Jan 2021 11:28:35 -0800 Subject: [PATCH 2/2] Update x/upgrade/client/cli/tx.go --- x/upgrade/client/cli/tx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/upgrade/client/cli/tx.go b/x/upgrade/client/cli/tx.go index 1a341914e32a..32472ad84d16 100644 --- a/x/upgrade/client/cli/tx.go +++ b/x/upgrade/client/cli/tx.go @@ -41,7 +41,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 {