diff --git a/docker/.env.default b/docker/.env.default index 450265d0..eb723d61 100644 --- a/docker/.env.default +++ b/docker/.env.default @@ -1,4 +1,4 @@ -# L1 network option: can be either `optimism`, `optimism-goerli`, `optimism-sepolia` or `base-goerli` +# L1 network option: can be either `optimism`, `optimism-goerli`, `optimism-sepolia`, `base`, `base-goerli` or `base-sepolia` NETWORK=optimism # The HTTP RPC endpoint of an L1 node diff --git a/docker/start-op-geth.sh b/docker/start-op-geth.sh index 1ac8e476..21333199 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.json)