Add CLI for Sanction Gov Props #1311
Labels
cosmos-sdk
Issues/PRs related to our fork of the Cosmos-SDK
enhancement
New feature or request
sanction
Sanction Module
Summary
Add CLI commands for creating and submitting the sanction module's governance proposals.
Problem Definition
The sanction module's governance proposal endpoints don't have any CLI helpers. With
gov.v1
, adding commands totx gov
is deprecated in favor oftx
commands in the respective modules that send aMsgSubmitProposal
. These commands weren't in the initial sanction module though.Proposal
Add commands for each sanction module endpoint under
tx sanction ...
.Msg
, then wrap it in aMsgSubmitProposal
and send that.authority
should be populated automatically. There is no reason to ever have it be something other than the one magic value.--deposit
flag for indicating the amount of deposit to include initially.--metadata
flag for populating the proposal's metadata.MsgSubmitProposal
by the time this issue is addressed, there should also be--title
and--description
flags for those two proposal fields.For Admin Use
The text was updated successfully, but these errors were encountered: