Add a todo to replace foundry usage with web3 js

This commit is contained in:
Prathamesh Musale 2023-03-31 18:06:58 +05:30
parent dfcea7d165
commit 3e18e14f39
2 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,7 @@ yarn hardhat send-balance --to "${BATCHER_ADDRESS}" --amount 1000 --private-key
echo "Balances sent to L2 accounts" echo "Balances sent to L2 accounts"
# Select a finalized L1 block as the starting point for roll ups # 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 until CAST_OUTPUT=$(cast block finalized --rpc-url "$L1_RPC"); do
echo "Waiting for a finalized L1 block to exist, retrying after 10s" echo "Waiting for a finalized L1 block to exist, retrying after 10s"
sleep 10 sleep 10

View File

@ -1,3 +1,4 @@
# TODO: Use a node alpine image
FROM cerc/foundry:local FROM cerc/foundry:local
# Install node (local foundry is a debian based image) # Install node (local foundry is a debian based image)