op-reth: emit --disable-discovery (not --nodiscover) for node_sync nodes
op-reth rejects geth's --nodiscover flag, which the op-geth base template emits for node_sync nodes. Use reth's --disable-discovery instead. - hashkeychain-testnet: now node_sync/consensus-layer (was execution-layer with an empty DB, which could not backfill) + --disable-discovery - xlayer mainnet/testnet (archive+pruned): --nodiscover -> --disable-discovery (these were latently broken on restart) Fix lives in the op-reth.yml base template so all reth nodes are covered; the redundant override in op-reth.boba.yml was removed. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -62,26 +62,21 @@ services:
|
||||
nofile: 1048576 # Max open files (for RPC/WS connections)
|
||||
memlock: -1 # Disable memory locking limits (for in-memory DBs like MDBX)
|
||||
user: root
|
||||
ports:
|
||||
- 11964:11964
|
||||
- 11964:11964/udp
|
||||
expose:
|
||||
- 8545
|
||||
- 9001
|
||||
- 8551
|
||||
entrypoint: [op-reth, node]
|
||||
command:
|
||||
- --bootnodes=enode://0492e74fb10579a3c53a327ee42dc70db35e7e0aebd73793a806afccb86b30acecb8fe9d024e06bb3fd154c678926d884df3ae696c71adcbf1339a5762e19c4d@testnet-bootnodes.hsk.xyz:30303,enode://dba82c6b384844a00a54ecdfcb34c209ea714072558db80512d4c65e760846d054cf3f58a826cba33b6b410498559b7e41b147dfa487f8cba3d25d2b5bb9e7bc@testnet-bootnodes.hsk.xyz:30304
|
||||
- --chain=/config/genesis.json
|
||||
- --config=/config/reth/reth.toml
|
||||
- --datadir=/root/.local/share/reth
|
||||
- --disable-discovery
|
||||
- --engine.cross-block-cache-size=${HASHKEYCHAIN_TESTNET_RETH_STATE_CACHE:-4096}
|
||||
- --full
|
||||
- --max-inbound-peers=50
|
||||
- --max-outbound-peers=50
|
||||
- --metrics=0.0.0.0:9001
|
||||
- --nat=extip:${IP}
|
||||
- --port=11964
|
||||
- --rollup.sequencer-http=https://testnet.hsk.xyz
|
||||
- --rpc-cache.max-blocks=10000
|
||||
- --rpc-cache.max-concurrent-db-requests=2048
|
||||
@@ -174,7 +169,7 @@ services:
|
||||
- OP_NODE_RPC_ADDR=0.0.0.0
|
||||
- OP_NODE_RPC_PORT=8545
|
||||
- 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
|
||||
entrypoint: [op-node]
|
||||
restart: unless-stopped
|
||||
|
||||
@@ -73,11 +73,11 @@ services:
|
||||
- --chain=/config/genesis.json
|
||||
- --config=/config/reth/reth.toml
|
||||
- --datadir=/root/.local/share/reth
|
||||
- --disable-discovery
|
||||
- --engine.cross-block-cache-size=${XLAYER_MAINNET_RETH_STATE_CACHE:-4096}
|
||||
- --max-inbound-peers=50
|
||||
- --max-outbound-peers=50
|
||||
- --metrics=0.0.0.0:9001
|
||||
- --nodiscover
|
||||
- --rollup.sequencer-http=https://rpc.xlayer.tech
|
||||
- --rpc-cache.max-blocks=10000
|
||||
- --rpc-cache.max-concurrent-db-requests=2048
|
||||
|
||||
@@ -73,12 +73,12 @@ services:
|
||||
- --chain=/config/genesis.json
|
||||
- --config=/config/reth/reth.toml
|
||||
- --datadir=/root/.local/share/reth
|
||||
- --disable-discovery
|
||||
- --engine.cross-block-cache-size=${XLAYER_MAINNET_RETH_STATE_CACHE:-4096}
|
||||
- --full
|
||||
- --max-inbound-peers=50
|
||||
- --max-outbound-peers=50
|
||||
- --metrics=0.0.0.0:9001
|
||||
- --nodiscover
|
||||
- --rollup.sequencer-http=https://rpc.xlayer.tech
|
||||
- --rpc-cache.max-blocks=10000
|
||||
- --rpc-cache.max-concurrent-db-requests=2048
|
||||
|
||||
@@ -73,11 +73,11 @@ services:
|
||||
- --chain=/config/genesis.json
|
||||
- --config=/config/reth/reth.toml
|
||||
- --datadir=/root/.local/share/reth
|
||||
- --disable-discovery
|
||||
- --engine.cross-block-cache-size=${XLAYER_TESTNET_RETH_STATE_CACHE:-4096}
|
||||
- --max-inbound-peers=50
|
||||
- --max-outbound-peers=50
|
||||
- --metrics=0.0.0.0:9001
|
||||
- --nodiscover
|
||||
- --rollup.sequencer-http=https://testrpc.xlayer.tech
|
||||
- --rpc-cache.max-blocks=10000
|
||||
- --rpc-cache.max-concurrent-db-requests=2048
|
||||
|
||||
@@ -73,12 +73,12 @@ services:
|
||||
- --chain=/config/genesis.json
|
||||
- --config=/config/reth/reth.toml
|
||||
- --datadir=/root/.local/share/reth
|
||||
- --disable-discovery
|
||||
- --engine.cross-block-cache-size=${XLAYER_TESTNET_RETH_STATE_CACHE:-4096}
|
||||
- --full
|
||||
- --max-inbound-peers=50
|
||||
- --max-outbound-peers=50
|
||||
- --metrics=0.0.0.0:9001
|
||||
- --nodiscover
|
||||
- --rollup.sequencer-http=https://testrpc.xlayer.tech
|
||||
- --rpc-cache.max-blocks=10000
|
||||
- --rpc-cache.max-concurrent-db-requests=2048
|
||||
|
||||
Reference in New Issue
Block a user