Skip to content

Commit

Permalink
chore: add base-sepolia to docker start-op-geth.sh (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgresham authored Mar 9, 2024
1 parent 93a380a commit 9ae996f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docker/start-op-geth.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9ae996f

Please sign in to comment.