Skip to content

Commit

Permalink
chore: add missing base-sepolia references
Browse files Browse the repository at this point in the history
  • Loading branch information
jgresham authored Feb 28, 2024
1 parent 9dbe764 commit dff7fce
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docker/.env.default
Original file line number Diff line number Diff line change
@@ -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
Expand Down
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.json)
Expand Down

0 comments on commit dff7fce

Please sign in to comment.