Skip to content

Commit

Permalink
fix(ci): wait for mainnet fork deployment (#5735)
Browse files Browse the repository at this point in the history
  • Loading branch information
spypsy authored Apr 15, 2024
1 parent a22bc3d commit 8f3794d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -869,6 +869,7 @@ jobs:
command: |
should_deploy || exit 0
deploy_terraform_services iac/mainnet-fork mainnet-fork mainnet-fork aws_efs_file_system.aztec_mainnet_fork_data_store
./iac/scripts/wait_for_fork
- run:
name: "Release canary to NPM: bb.js"
command: |
Expand Down
2 changes: 1 addition & 1 deletion iac/mainnet-fork/scripts/wait_for_fork
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -e
# This script waits on a healthy status from the fork - a valid response to the chainid request
# We retry every 20 seconds, and wait for a total of 5 minutes (15 times)

export ETHEREUM_HOST="https://aztec-mainnet-fork.aztec.network:8545/$API_KEY"
export ETHEREUM_HOST="https://$DEPLOY_TAG-mainnet-fork.aztec.network:8545/$API_KEY"

curl -H "Content-Type: application/json" -X POST --data '{"method":"eth_chainId","params":[],"id":33,"jsonrpc":"2.0"}' \
--connect-timeout 30 \
Expand Down

0 comments on commit 8f3794d

Please sign in to comment.