From 36b8243a030ca82d1ca3f58f14b63d317398023b Mon Sep 17 00:00:00 2001 From: Claude Agent Date: Sun, 14 Jun 2026 06:18:43 +0000 Subject: [PATCH] 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) --- op/reth/hashkeychain-testnet-op-reth-pruned-trace.yml | 9 ++------- op/reth/xlayer-mainnet-op-reth-archive-trace.yml | 2 +- op/reth/xlayer-mainnet-op-reth-pruned-trace.yml | 2 +- op/reth/xlayer-testnet-op-reth-archive-trace.yml | 2 +- op/reth/xlayer-testnet-op-reth-pruned-trace.yml | 2 +- 5 files changed, 6 insertions(+), 11 deletions(-) diff --git a/op/reth/hashkeychain-testnet-op-reth-pruned-trace.yml b/op/reth/hashkeychain-testnet-op-reth-pruned-trace.yml index de88d0a0..57f97879 100644 --- a/op/reth/hashkeychain-testnet-op-reth-pruned-trace.yml +++ b/op/reth/hashkeychain-testnet-op-reth-pruned-trace.yml @@ -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 diff --git a/op/reth/xlayer-mainnet-op-reth-archive-trace.yml b/op/reth/xlayer-mainnet-op-reth-archive-trace.yml index 436a7348..74b293f7 100644 --- a/op/reth/xlayer-mainnet-op-reth-archive-trace.yml +++ b/op/reth/xlayer-mainnet-op-reth-archive-trace.yml @@ -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 diff --git a/op/reth/xlayer-mainnet-op-reth-pruned-trace.yml b/op/reth/xlayer-mainnet-op-reth-pruned-trace.yml index c5fcfc0f..101828f9 100644 --- a/op/reth/xlayer-mainnet-op-reth-pruned-trace.yml +++ b/op/reth/xlayer-mainnet-op-reth-pruned-trace.yml @@ -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 diff --git a/op/reth/xlayer-testnet-op-reth-archive-trace.yml b/op/reth/xlayer-testnet-op-reth-archive-trace.yml index f462536b..c52528c9 100644 --- a/op/reth/xlayer-testnet-op-reth-archive-trace.yml +++ b/op/reth/xlayer-testnet-op-reth-archive-trace.yml @@ -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 diff --git a/op/reth/xlayer-testnet-op-reth-pruned-trace.yml b/op/reth/xlayer-testnet-op-reth-pruned-trace.yml index d36c884e..9eec4c3d 100644 --- a/op/reth/xlayer-testnet-op-reth-pruned-trace.yml +++ b/op/reth/xlayer-testnet-op-reth-pruned-trace.yml @@ -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