Skip to content

Commit

Permalink
fix: chain registry is not available
Browse files Browse the repository at this point in the history
- request to http://localhost:8081/chains/agoriclocal failed, reason: connect ECONNREFUSED ::1:8081
  • Loading branch information
0xpatrickdev committed Jun 7, 2024
1 parent 5f8d645 commit 7490f0f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/multichain-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
run: yarn lint
working-directory: ./agoric-sdk/multichain-testing

- name: Set Up Starship Infrastructure
- name: Setup Starship Infrastructure
id: starship-infra
uses: cosmology-tech/[email protected]
with:
Expand All @@ -52,6 +52,12 @@ jobs:
make fund-provision-pool
working-directory: ./agoric-sdk/multichain-testing

- name: Ensure Chain Registries are available
run: |
curl --fail --retry 3 --retry-delay 10 http://localhost:8081/chains/agoriclocal || (echo "agoriclocal URL check failed")
curl --fail --retry 3 --retry-delay 10 http://localhost:8081/chains/osmosislocal || (echo "osmosislocal URL check failed")
curl --fail --retry 3 --retry-delay 10 http://localhost:8081/chains/gaialocal || (echo "gaialocal URL check failed")
- name: Run @agoric/multichain-testing E2E Tests
run: yarn test
working-directory: ./agoric-sdk/multichain-testing
8 changes: 4 additions & 4 deletions multichain-testing/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,17 +69,17 @@ clean-kind:
PROVISION_POOL_ADDR=agoric1megzytg65cyrgzs6fvzxgrcqvwwl7ugpt62346

fund-provision-pool:
kubectl exec -it agoriclocal-genesis-0 -c validator -- agd tx bank send faucet $(PROVISION_POOL_ADDR) 1000000000uist -y -b block
kubectl exec -i agoriclocal-genesis-0 -c validator -- agd tx bank send faucet $(PROVISION_POOL_ADDR) 1000000000uist -y -b block

ADDR=agoric1ldmtatp24qlllgxmrsjzcpe20fvlkp448zcuce
COIN=1000000000uist

fund-wallet:
kubectl exec -it agoriclocal-genesis-0 -c validator -- agd tx bank send faucet $(ADDR) $(COIN) -y -b block
kubectl exec -i agoriclocal-genesis-0 -c validator -- agd tx bank send faucet $(ADDR) $(COIN) -y -b block

provision-smart-wallet:
kubectl exec -it agoriclocal-genesis-0 -c validator -- agd tx swingset provision-one wallet $(ADDR) SMART_WALLET --from faucet -y -b block
kubectl exec -i agoriclocal-genesis-0 -c validator -- agd tx swingset provision-one wallet $(ADDR) SMART_WALLET --from faucet -y -b block

# view agoric swingset logs from slog file, until we can set `DEBUG=SwingSet:vat,SwingSet:ls`
tail-slog:
kubectl exec -it agoriclocal-genesis-0 -c validator -- tail -f slog.slog
kubectl exec -i agoriclocal-genesis-0 -c validator -- tail -f slog.slog

0 comments on commit 7490f0f

Please sign in to comment.