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:
parent
e481f13ff3
commit
893f2262a7
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user