Skip to content

Commit

Permalink
fix: foundry image doesn't have curl (#11242)
Browse files Browse the repository at this point in the history
Please read [contributing guidelines](CONTRIBUTING.md) and remove this
line.
  • Loading branch information
just-mitch authored Jan 15, 2025
1 parent 17aa4b4 commit 57da116
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion spartan/aztec-network/templates/boot-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@ spec:
# it is possible that even though we asserted this above, the DNS resolver of *this* pod
# is not yet ready to resolve the ethereum host.
# so we need to wait for it to be ready.
{{- include "aztec-network.waitForEthereum" . | nindent 14 }}
until cast rpc --rpc-url ${ETHEREUM_HOST} eth_chainId | grep 0x; do
echo "Waiting for Ethereum node ${ETHEREUM_HOST}..."
sleep 5
done
echo "Ethereum node is ready!"
if [ "$(cast code --rpc-url ${ETHEREUM_HOST} 0x4e59b44847b379578588920ca78fbf26c0b4956c)" = "0x" ]; then
echo "Deploying Deterministic Deployment Proxy"
cast publish --rpc-url ${ETHEREUM_HOST} 0xf8a58085174876e800830186a08080b853604580600e600039806000f350fe7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe03601600081602082378035828234f58015156039578182fd5b8082525050506014600cf31ba02222222222222222222222222222222222222222222222222222222222222222a02222222222222222222222222222222222222222222222222222222222222222
Expand Down

0 comments on commit 57da116

Please sign in to comment.