From 3e18e14f39241c1dd805be85bfed44bc37ee3f0d Mon Sep 17 00:00:00 2001 From: prathamesh0 Date: Fri, 31 Mar 2023 18:06:58 +0530 Subject: [PATCH] Add a todo to replace foundry usage with web3 js --- app/data/config/fixturenet-optimism/optimism-contracts/run.sh | 1 + app/data/container-build/cerc-optimism-contracts/Dockerfile | 1 + 2 files changed, 2 insertions(+) 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)