Skip to content

Commit 4e371be

Browse files
author
Michael de Hoog
authored
Add sepolia configuration (#115)
1 parent 4e26652 commit 4e371be

6 files changed

Lines changed: 15325 additions & 2 deletions

File tree

.env.sepolia

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
OP_GETH_GENESIS_FILE_PATH=sepolia/genesis-l2.json
2+
OP_GETH_SEQUENCER_HTTP=https://sepolia-sequencer.base.org
3+
4+
# [optional] used to enable geth stats:
5+
# OP_GETH_ETH_STATS=nodename:secret@host:port
6+
7+
# [recommended] replace with your preferred L1 (Ethereum, not Base) node RPC URL:
8+
OP_NODE_L1_ETH_RPC=https://rpc.sepolia.org
9+
10+
# auth secret used by op-geth engine API:
11+
OP_NODE_L2_ENGINE_AUTH_RAW=688f5d737bad920bdfb2fc2f488d6b6209eebda1dae949a8de91398d932c517a
12+
13+
OP_NODE_L2_ENGINE_AUTH=/tmp/engine-auth-jwt
14+
OP_NODE_L2_ENGINE_RPC=http://geth:8551
15+
OP_NODE_LOG_LEVEL=info
16+
OP_NODE_METRICS_ADDR=0.0.0.0
17+
OP_NODE_METRICS_ENABLED=true
18+
OP_NODE_METRICS_PORT=7300
19+
OP_NODE_P2P_AGENT=base
20+
OP_NODE_P2P_BOOTNODES=enr:-J64QBwRIWAco7lv6jImSOjPU_W266lHXzpAS5YOh7WmgTyBZkgLgOwo_mxKJq3wz2XRbsoBItbv1dCyjIoNq67mFguGAYrTxM42gmlkgnY0gmlwhBLSsHKHb3BzdGFja4S0lAUAiXNlY3AyNTZrMaEDmoWSi8hcsRpQf2eJsNUx-sqv6fH4btmo2HsAzZFAKnKDdGNwgiQGg3VkcIIkBg,enr:-J64QFa3qMsONLGphfjEkeYyF6Jkil_jCuJmm7_a42ckZeUQGLVzrzstZNb1dgBp1GGx9bzImq5VxJLP-BaptZThGiWGAYrTytOvgmlkgnY0gmlwhGsV-zeHb3BzdGFja4S0lAUAiXNlY3AyNTZrMaEDahfSECTIS_cXyZ8IyNf4leANlZnrsMEWTkEYxf4GMCmDdGNwgiQGg3VkcIIkBg
21+
OP_NODE_P2P_LISTEN_IP=0.0.0.0
22+
OP_NODE_P2P_LISTEN_TCP_PORT=9222
23+
OP_NODE_P2P_LISTEN_UDP_PORT=9222
24+
OP_NODE_ROLLUP_CONFIG=sepolia/rollup.json
25+
OP_NODE_RPC_ADDR=0.0.0.0
26+
OP_NODE_RPC_PORT=8545
27+
OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log
28+
OP_NODE_VERIFIER_L1_CONFS=4
29+
30+
# OP_NODE_L1_TRUST_RPC allows for faster syncing, but should be used *only* if your L1 RPC node
31+
# is fully trusted. It also allows op-node to work with clients such as Erigon that do not
32+
# support storage proofs:
33+
# OP_NODE_L1_TRUST_RPC=true

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,5 @@ COPY --from=geth /app/build/bin/geth ./
4343
COPY geth-entrypoint .
4444
COPY op-node-entrypoint .
4545
COPY goerli ./goerli
46+
COPY sepolia ./sepolia
4647
COPY mainnet ./mainnet

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,15 @@ If you encounter problems with your node, please open a [GitHub issue](https://g
4444
### Supported networks
4545

4646
| Ethereum Network | Status |
47-
| ---------------- | ------ |
47+
|------------------| ------ |
4848
| Goerli testnet ||
49+
| Sepolia testnet ||
4950
| Mainnet ||
5051

5152
### Usage
5253

5354
1. Ensure you have an Ethereum L1 full node RPC available (not Base), and set `OP_NODE_L1_ETH_RPC` (in the `.env.*` file if using docker-compose). If running your own L1 node, it needs to be synced before Base will be able to fully sync.
54-
2. Uncomment the line relevant to your network (`.env.goerli` or `.env.mainnet`) under the 2 `env_file` keys in `docker-compose.yml`.
55+
2. Uncomment the line relevant to your network (`.env.goerli`, `.env.sepolia`, or `.env.mainnet`) under the 2 `env_file` keys in `docker-compose.yml`.
5556
3. Run:
5657

5758
```

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ services:
1313
env_file:
1414
# select your network here:
1515
# - .env.goerli
16+
# - .env.sepolia
1617
# - .env.mainnet
1718
node:
1819
build: .
@@ -28,4 +29,5 @@ services:
2829
env_file:
2930
# select your network here:
3031
# - .env.goerli
32+
# - .env.sepolia
3133
# - .env.mainnet

0 commit comments

Comments
 (0)