doma: op-node consensus-layer sync (node_sync)
op-geth was stuck at genesis (block 0, 0 L2 peers for 31h) because execution-layer snap-sync had no peers. node_sync=true -> OP_NODE_SYNCMODE=consensus-layer (derive L2 from L1) + geth --syncmode=full. Diagnosed by cursor on de-13. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -61,9 +61,6 @@ services:
|
|||||||
ulimits:
|
ulimits:
|
||||||
nofile: 1048576 # Max open files (for RPC/WS connections)
|
nofile: 1048576 # Max open files (for RPC/WS connections)
|
||||||
user: root
|
user: root
|
||||||
ports:
|
|
||||||
- 10977:10977
|
|
||||||
- 10977:10977/udp
|
|
||||||
expose:
|
expose:
|
||||||
- 8545
|
- 8545
|
||||||
- 6060
|
- 6060
|
||||||
@@ -80,13 +77,12 @@ services:
|
|||||||
- --metrics
|
- --metrics
|
||||||
- --metrics.addr=0.0.0.0
|
- --metrics.addr=0.0.0.0
|
||||||
- --metrics.port=6060
|
- --metrics.port=6060
|
||||||
- --nat=extip:${IP}
|
|
||||||
- --networkid=97477
|
- --networkid=97477
|
||||||
- --port=10977
|
- --nodiscover
|
||||||
- --rpc.gascap=600000000
|
- --rpc.gascap=600000000
|
||||||
- --rpc.txfeecap=0
|
- --rpc.txfeecap=0
|
||||||
- --state.scheme=path
|
- --state.scheme=path
|
||||||
- --syncmode=snap
|
- --syncmode=full
|
||||||
- --http
|
- --http
|
||||||
- --http.addr=0.0.0.0
|
- --http.addr=0.0.0.0
|
||||||
- --http.api=eth,net,web3,debug,admin,txpool,engine
|
- --http.api=eth,net,web3,debug,admin,txpool,engine
|
||||||
@@ -149,7 +145,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- OP_NODE_L1_BEACON=${ETHEREUM_MAINNET_BEACON_REST}
|
- OP_NODE_L1_BEACON=${ETHEREUM_MAINNET_BEACON_REST}
|
||||||
- OP_NODE_L1_BEACON_ARCHIVER=${ETHEREUM_MAINNET_BEACON_ARCHIVER}
|
- OP_NODE_L1_BEACON_ARCHIVER=${ETHEREUM_MAINNET_BEACON_ARCHIVER}
|
||||||
- OP_NODE_L1_ETH_RPC=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
- OP_NODE_L1_ETH_RPC=${DOMA_MAINNET_L1_EXECUTION_RPC:-${ETHEREUM_MAINNET_EXECUTION_RPC}}
|
||||||
- OP_NODE_L1_RPC_KIND=${ETHEREUM_MAINNET_EXECUTION_KIND:-standard}
|
- OP_NODE_L1_RPC_KIND=${ETHEREUM_MAINNET_EXECUTION_KIND:-standard}
|
||||||
- OP_NODE_L1_TRUST_RPC=${ETHEREUM_MAINNET_EXECUTION_TRUST:-false}
|
- OP_NODE_L1_TRUST_RPC=${ETHEREUM_MAINNET_EXECUTION_TRUST:-false}
|
||||||
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
|
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
|
||||||
@@ -170,7 +166,7 @@ services:
|
|||||||
- OP_NODE_RPC_ADDR=0.0.0.0
|
- OP_NODE_RPC_ADDR=0.0.0.0
|
||||||
- OP_NODE_RPC_PORT=8545
|
- OP_NODE_RPC_PORT=8545
|
||||||
- OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log
|
- OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log
|
||||||
- OP_NODE_SYNCMODE=execution-layer
|
- OP_NODE_SYNCMODE=consensus-layer
|
||||||
- OP_NODE_VERIFIER_L1_CONFS=0
|
- OP_NODE_VERIFIER_L1_CONFS=0
|
||||||
entrypoint: [op-node]
|
entrypoint: [op-node]
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
Reference in New Issue
Block a user