Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 733 Bytes

vote-for-consumer-creation.md

File metadata and controls

33 lines (23 loc) · 733 Bytes

This command will let you vote for a proposal to create a second consumer chain using the CLI

  1. See proposal on the blockchain
PROV_NODE_DIR=~/provider

interchain-security-pd q gov proposal 10 --home $PROV_NODE_DIR

You should see a proposal called "Create consumer chain 2".

  1. Check the votes
interchain-security-pd q gov tally 10 --home $PROV_NODE_DIR
  1. Now vote for the proposal
PROP_ID=10
PROV_KEY=provider-key
PROV_CHAIN_ID=provider

interchain-security-pd tx gov vote $PROP_ID yes --from $PROV_KEY \
       --keyring-backend test --chain-id $PROV_CHAIN_ID --home $PROV_NODE_DIR -b block -y
  1. Check that your vote was added
interchain-security-pd q gov tally 10 --home $PROV_NODE_DIR