Commit 61dd8334 authored by Mark Tyneway's avatar Mark Tyneway Committed by GitHub

docker: have geth wait for dtl to be up before starting (#436)

* docker: have geth wait for dtl to be up before starting

* chore: update comment on geth.sh
Co-authored-by: default avatarGeorgios Konstantopoulos <me@gakonst.com>
parent b64bcd33
...@@ -19,4 +19,7 @@ if [ $ETH1_L1_ETH_GATEWAY_ADDRESS == null ]; then ...@@ -19,4 +19,7 @@ if [ $ETH1_L1_ETH_GATEWAY_ADDRESS == null ]; then
envSet ETH1_L1_ETH_GATEWAY_ADDRESS OVM_L1ETHGateway envSet ETH1_L1_ETH_GATEWAY_ADDRESS OVM_L1ETHGateway
fi fi
# wait for the dtl to be up, else geth will crash if it cannot connect
curl --retry-connrefused --retry $RETRIES --retry-delay 2 $ROLLUP_CLIENT_HTTP
exec geth --verbosity=6 exec geth --verbosity=6
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment