From 9ae996fd762390a883f3e89aa30182cd6bb89bee Mon Sep 17 00:00:00 2001 From: Johns Gresham Date: Fri, 8 Mar 2024 16:36:20 -0800 Subject: [PATCH] chore: add base-sepolia to docker start-op-geth.sh (#216) --- docker/start-op-geth.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docker/start-op-geth.sh b/docker/start-op-geth.sh index 2d445887..1b6cfa20 100755 --- a/docker/start-op-geth.sh +++ b/docker/start-op-geth.sh @@ -49,6 +49,14 @@ then wget "https://raw.githubusercontent.com/base-org/node/main/goerli/genesis-l2.json" -O ./genesis-l2.json geth init --datadir=$DATADIR ./genesis-l2.json fi +elif [ $NETWORK = "base-sepolia" ] +then + CHAIN_ID=84532 + if [ ! -d $DATADIR ] + then + wget "https://raw.githubusercontent.com/base-org/node/main/sepolia/genesis-l2.json" -O ./genesis-l2.json + geth init --datadir=$DATADIR ./genesis-l2.json + fi elif [ $NETWORK = "custom" ] || [ $NETWORK = "devnet" ] then CHAIN_ID=$(jq '.config.chainId' ./genesis-l2-attached.json)