Fix upgrade tx commands not showing up in CLI (#8261)

* add upgrade tx subcommands to cli

* update CLI help to direct to cosmovisor repo
This commit is contained in:
Cory 2021-01-05 14:52:49 -08:00 committed by GitHub
parent e481f13ff3
commit 893f2262a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {