From 35ab4bc08b4119b092c7c8ed46a7f54ff61e4210 Mon Sep 17 00:00:00 2001 From: Niven Date: Wed, 25 Mar 2026 15:46:45 +0800 Subject: [PATCH 1/3] devnet: switch to xlayer fb rpc config flag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.6 (1M context) --- devnet/entrypoint/reth-rpc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devnet/entrypoint/reth-rpc.sh b/devnet/entrypoint/reth-rpc.sh index 68bc24f..926bdef 100755 --- a/devnet/entrypoint/reth-rpc.sh +++ b/devnet/entrypoint/reth-rpc.sh @@ -66,7 +66,7 @@ if [ "$FLASHBLOCK_ENABLED" = "true" ] && [ "$FLASHBLOCKS_RPC" = "true" ]; then CMD="$CMD \ --flashblocks.addr=0.0.0.0 \ --flashblocks.port=1111 \ - --flashblocks-url=ws://op-reth-seq:1111 \ + --xlayer.flashblocks-url=ws://op-reth-seq:1111 \ --xlayer.flashblocks-subscription" fi From 725f331fd403a958de3cc198e40e24e879eff2ed Mon Sep 17 00:00:00 2001 From: Niven Date: Fri, 27 Mar 2026 17:41:54 +0800 Subject: [PATCH 2/3] Add config flag for fb debug mode --- devnet/entrypoint/reth-rpc.sh | 7 +++++++ devnet/example.env | 1 + 2 files changed, 8 insertions(+) diff --git a/devnet/entrypoint/reth-rpc.sh b/devnet/entrypoint/reth-rpc.sh index 926bdef..12cd745 100755 --- a/devnet/entrypoint/reth-rpc.sh +++ b/devnet/entrypoint/reth-rpc.sh @@ -68,6 +68,13 @@ if [ "$FLASHBLOCK_ENABLED" = "true" ] && [ "$FLASHBLOCKS_RPC" = "true" ]; then --flashblocks.port=1111 \ --xlayer.flashblocks-url=ws://op-reth-seq:1111 \ --xlayer.flashblocks-subscription" + + # Enable flashblocks state comparison debug mode + if [ "$FLASHBLOCKS_DEBUG_STATE_COMPARISON" = "true" ]; then + CMD="$CMD \ + --xlayer.flashblocks-debug-state-comparison \ + --xlayer.flashblocks-disable-pre-warming" + fi fi # Bridge intercept configuration diff --git a/devnet/example.env b/devnet/example.env index 2461d30..b83f49a 100644 --- a/devnet/example.env +++ b/devnet/example.env @@ -185,5 +185,6 @@ TRUSTED_PEERS= FLASHBLOCK_ENABLED=true FLASHBLOCK_P2P_ENABLED=true +FLASHBLOCKS_DEBUG_STATE_COMPARISON=false OWNER_TYPE=transactor # safe From 3082ed57e28fb8cc327171283a93a496065efb0d Mon Sep 17 00:00:00 2001 From: Niven Date: Mon, 30 Mar 2026 18:46:24 +0800 Subject: [PATCH 3/3] Remove disable prewarm falg --- devnet/entrypoint/reth-rpc.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/devnet/entrypoint/reth-rpc.sh b/devnet/entrypoint/reth-rpc.sh index 12cd745..38e5986 100755 --- a/devnet/entrypoint/reth-rpc.sh +++ b/devnet/entrypoint/reth-rpc.sh @@ -71,9 +71,7 @@ if [ "$FLASHBLOCK_ENABLED" = "true" ] && [ "$FLASHBLOCKS_RPC" = "true" ]; then # Enable flashblocks state comparison debug mode if [ "$FLASHBLOCKS_DEBUG_STATE_COMPARISON" = "true" ]; then - CMD="$CMD \ - --xlayer.flashblocks-debug-state-comparison \ - --xlayer.flashblocks-disable-pre-warming" + CMD="$CMD --xlayer.flashblocks-debug-state-comparison" fi fi