Skip to content

Commit

Permalink
fix(deployment): ensure that the faucet is given urun
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Jun 25, 2021
1 parent c6612ea commit 2e046f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/deployment/ansible/cosmos-genesis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
- BOOTSTRAP_TOKENS: 100provisionpass
- CHAIN_NAME: "{{ lookup('file', SETUP_HOME + '/ag-chain-cosmos/chain-name.txt') }}"
- NETWORK_CONFIG_URL: https://testnet.agoric.com/network-config
- FAUCET_TOKENS: "{{ lookup('file', SETUP_HOME + '/boot-tokens.txt') }}"
- STAKER: ag-staker
- STAKER_TOKENS: 10000000000000000000000000ubld
- STAKER_INIT_COINS: 62000000ubld
- STAKER_SELF_DELEGATION: 50000000ubld
- STAKER_NODE: validator0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ while [[ ${#rpcAddrs[@]} -gt 0 ]]; do
echo "$ADDR:$DELEGATE_COINS:$NAME" >> $thisdir/cosmos-delegates.txt
exit 0
fi
exit $?
;;
*)
echo 1>&2 "Unknown operation $OP"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
become_user: "{{ service }}"
shell: "\
{{ service }} add-genesis-account \
{{ faucet }} {{ STAKER_TOKENS }},{{ BOOTSTRAP_TOKENS }}"
{{ faucet }} {{ FAUCET_TOKENS }},{{ BOOTSTRAP_TOKENS }}"

- name: "Add {{ STAKER_INIT_COINS }} coins to {{ STAKER }}-{{ STAKER_NODE }}"
become: yes
Expand Down

0 comments on commit 2e046f7

Please sign in to comment.