diff --git a/app/data/config/fixturenet-optimism/optimism-contracts/run.sh b/app/data/config/fixturenet-optimism/optimism-contracts/run.sh index 285ed38a..4a5f568b 100755 --- a/app/data/config/fixturenet-optimism/optimism-contracts/run.sh +++ b/app/data/config/fixturenet-optimism/optimism-contracts/run.sh @@ -41,6 +41,7 @@ yarn hardhat send-balance --to "${BATCHER_ADDRESS}" --amount 1000 --private-key echo "Balances sent to L2 accounts" # Select a finalized L1 block as the starting point for roll ups +# TODO Use web3.js to get the latest finalized block until CAST_OUTPUT=$(cast block finalized --rpc-url "$L1_RPC"); do echo "Waiting for a finalized L1 block to exist, retrying after 10s" sleep 10 diff --git a/app/data/container-build/cerc-optimism-contracts/Dockerfile b/app/data/container-build/cerc-optimism-contracts/Dockerfile index cdc98b08..4f244bab 100644 --- a/app/data/container-build/cerc-optimism-contracts/Dockerfile +++ b/app/data/container-build/cerc-optimism-contracts/Dockerfile @@ -1,3 +1,4 @@ +# TODO: Use a node alpine image FROM cerc/foundry:local # Install node (local foundry is a debian based image)