Voting on a Proposal

In order to vote on a proposal, submit the following command from the console of an Validator in the active set.

mantrachaind tx gov vote <proposal-id> <vote-option>   
   --from <submitter address> \
   --gas-prices="0.0002uom"
   --gas <max gas allocated> \
   --gas-adjustment <number> \
   --gas-prices=<uom>

e.g.

mantrachaind tx gov vote 5 "yes"   
--from=fluffy-duck-keys
--gas-prices="0.0002uom"
--gas-adjustment=2
--gas="auto"

Use the following command to see the vote tally.

mantrachaind q gov votes <proposal-id>

To see how a particular Validator voted, use the following command.

mantrachaind query gov vote <proposal-id> <voter-addr>

e.g.

mantrachaind query gov vote 5 mantra1layehd68atc9ny7dj96gunxnh3ryqzxa3ggwq6

Last updated