Skip to content

Commit

Permalink
Merge pull request #117 from jgresham/chore/base-sepolia
Browse files Browse the repository at this point in the history
chore: add missing base-sepolia references
  • Loading branch information
thinkAfCod authored Feb 28, 2024
2 parents 9dbe764 + dff7fce commit 51edb09
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 51edb09

Please sign in to comment.