Skip to content

Commit

Permalink
Merge pull request #3408 from Agoric/mfig-more-cleanups
Browse files Browse the repository at this point in the history
Minor cleanups
  • Loading branch information
michaelfig authored Jun 25, 2021
2 parents c6612ea + 9854446 commit 5b38615
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion golang/cosmos/daemon/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func RunWithController(sendToController cmd.Sender) {
// Exit on Control-C and kill.
// Without this explicitly, ag-chain-cosmos ignores them.
sigs := make(chan os.Signal, 1)
signal.Notify(sigs, syscall.SIGINT, syscall.SIGTERM)
signal.Notify(sigs, os.Interrupt, syscall.SIGINT, syscall.SIGTERM)
go func() {
<-sigs
os.Exit(98)
Expand Down
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
2 changes: 2 additions & 0 deletions packages/xsnap/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
build
dist
test/fixture-snap-pool/
test/fixture-snap-shot.xss

0 comments on commit 5b38615

Please sign in to comment.