From 7cdb99fcd6c442452b38c4a9f63d477ad07e56d4 Mon Sep 17 00:00:00 2001 From: spypsy Date: Tue, 16 Apr 2024 14:00:46 +0100 Subject: [PATCH] fix: wait_for_fork env var --- iac/mainnet-fork/scripts/wait_for_fork | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iac/mainnet-fork/scripts/wait_for_fork b/iac/mainnet-fork/scripts/wait_for_fork index ddafc00cc2e..7bd317fd28b 100755 --- a/iac/mainnet-fork/scripts/wait_for_fork +++ b/iac/mainnet-fork/scripts/wait_for_fork @@ -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://$DEPLOY_TAG-mainnet-fork.aztec.network:8545/$API_KEY" +export ETHEREUM_HOST="https://$DEPLOY_TAG-mainnet-fork.aztec.network:8545/$FORK_API_KEY" curl -H "Content-Type: application/json" -X POST --data '{"method":"eth_chainId","params":[],"id":33,"jsonrpc":"2.0"}' \ --connect-timeout 30 \