Commit 2d32f8bf authored by clabby's avatar clabby Committed by GitHub

Change to `latest` in getting started config (#11524)

parent bab2d5b1
...@@ -26,8 +26,8 @@ reqenv "L2_CHAIN_ID" ...@@ -26,8 +26,8 @@ reqenv "L2_CHAIN_ID"
reqenv "L1_BLOCK_TIME" reqenv "L1_BLOCK_TIME"
reqenv "L2_BLOCK_TIME" reqenv "L2_BLOCK_TIME"
# Get the finalized block timestamp and hash # Get the latest block timestamp and hash
block=$(cast block finalized --rpc-url "$L1_RPC_URL") block=$(cast block latest --rpc-url "$L1_RPC_URL")
timestamp=$(echo "$block" | awk '/timestamp/ { print $2 }') timestamp=$(echo "$block" | awk '/timestamp/ { print $2 }')
blockhash=$(echo "$block" | awk '/hash/ { print $2 }') blockhash=$(echo "$block" | awk '/hash/ { print $2 }')
......
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