mirror of https://github.com/certusone/wasmd.git
Change staking/govt modules to use ustake
This commit is contained in:
parent
25485128ee
commit
4c0845ac0b
|
@ -3,6 +3,8 @@
|
|||
PASSWORD=${PASSWORD:-1234567890}
|
||||
|
||||
wasmd init --chain-id=testing testing
|
||||
# staking/governance token is hardcoded in config, change this
|
||||
sed -i 's/"stake"/"ustake"/' "$HOME"/.wasmd/config/genesis.json
|
||||
(echo $PASSWORD; echo $PASSWORD) | wasmcli keys add validator
|
||||
# hardcode the validator account for this instance
|
||||
echo $PASSWORD | wasmd add-genesis-account validator 1000000000ustake,1000000000ucosm
|
||||
|
@ -11,5 +13,5 @@ for addr in "$@"; do
|
|||
wasmd add-genesis-account $addr 1000000000ustake,1000000000ucosm
|
||||
done
|
||||
# submit a genesis validator tx
|
||||
(echo $PASSWORD; echo $PASSWORD; echo $PASSWORD) | wasmd gentx --name validator
|
||||
(echo $PASSWORD; echo $PASSWORD; echo $PASSWORD) | wasmd gentx --name validator --amount 250000000ustake
|
||||
wasmd collect-gentxs
|
Loading…
Reference in New Issue