node icon indicating copy to clipboard operation
node copied to clipboard

AwaitingELSyncCompletion

Open matias949-source opened this issue 6 months ago • 4 comments

EL and CL clients can't connect to each other. I'm using the default settings from the repository.

execution-1 | {"timestamp":"2026-05-07T18:51:53.184477Z","level":"INFO","fields":{"message":"Status","connected_peers":6,"latest_block":"45649632"}} node-1 | {"timestamp":"2026-05-07T18:52:02.573007Z","level":"INFO","fields":{"message":"Processing l1 head update","l1_head":"BlockInfo { hash: 0x878a0fc7e3fc0048234b6f66bb5b7ff86acb43ab8e2db5d217375bcfc8353f2f, number: 25045071, parent_hash: 0x4b1fde24d9a5e4221fa37166eb705eec90619972047eab63410cb3415bac07a6, timestamp: 1778179919 }"},"target":"derivation"} node-1 | {"timestamp":"2026-05-07T18:52:02.573024Z","level":"INFO","fields":{"message":"Skipping derivation.","derivation_state":"DerivationStateMachine { confirmed_safe_head: L2BlockInfo { block_info: BlockInfo { hash: 0x0000000000000000000000000000000000000000000000000000000000000000, number: 0, parent_hash: 0x0000000000000000000000000000000000000000000000000000000000000000, timestamp: 0 }, l1_origin: NumHash { number: 0, hash: 0x0000000000000000000000000000000000000000000000000000000000000000 }, seq_num: 0 }, state: AwaitingELSyncCompletion }"},"target":"derivation"} node-1 | {"timestamp":"2026-05-07T18:52:14.729321Z","level":"INFO","fields":{"message":"Processing l1 head update","l1_head":"BlockInfo { hash: 0x25f92dbe1b4f9f034652b95910afb73984876aca2ab4c15eaac7b85875c1b7d9, number: 25045072, parent_hash: 0x878a0fc7e3fc0048234b6f66bb5b7ff86acb43ab8e2db5d217375bcfc8353f2f, timestamp: 1778179931 }"},"target":"derivation"} node-1 | {"timestamp":"2026-05-07T18:52:14.729348Z","level":"INFO","fields":{"message":"Skipping derivation.","derivation_state":"DerivationStateMachine { confirmed_safe_head: L2BlockInfo { block_info: BlockInfo { hash: 0x0000000000000000000000000000000000000000000000000000000000000000, number: 0, parent_hash: 0x0000000000000000000000000000000000000000000000000000000000000000, timestamp: 0 }, l1_origin: NumHash { number: 0, hash: 0x0000000000000000000000000000000000000000000000000000000000000000 }, seq_num: 0 }, state: AwaitingELSyncCompletion }"},"target":"derivation"} node-1 | {"timestamp":"2026-05-07T18:52:26.887831Z","level":"INFO","fields":{"message":"Processing l1 head update","l1_head":"BlockInfo { hash: 0xf62834b5f498ca76ec5b76985bd60423d1ddebe9e0f8ede00e6e2ab9ec015575, number: 25045073, parent_hash: 0x25f92dbe1b4f9f034652b95910afb73984876aca2ab4c15eaac7b85875c1b7d9, timestamp: 1778179943 }"},"target":"derivation"} node-1 | {"timestamp":"2026-05-07T18:52:26.887857Z","level":"INFO","fields":{"message":"Skipping derivation.","derivation_state":"DerivationStateMachine { confirmed_safe_head: L2BlockInfo { block_info: BlockInfo { hash: 0x0000000000000000000000000000000000000000000000000000000000000000, number: 0, parent_hash: 0x0000000000000000000000000000000000000000000000000000000000000000, timestamp: 0 }, l1_origin: NumHash { number: 0, hash: 0x0000000000000000000000000000000000000000000000000000000000000000 }, seq_num: 0 }, state: AwaitingELSyncCompletion }"},"target":"derivation"}

matias949-source avatar May 07 '26 18:05 matias949-source

node-1 | {"timestamp":"2026-05-07T18:54:16.294005Z","level":"INFO","fields":{"message":"Skipping derivation.","derivation_state":"DerivationStateMachine { confirmed_safe_head: L2BlockInfo { block_info: BlockInfo { hash: 0x0000000000000000000000000000000000000000000000000000000000000000, number: 0, parent_hash: 0x0000000000000000000000000000000000000000000000000000000000000000, timestamp: 0 }, l1_origin: NumHash { number: 0, hash: 0x0000000000000000000000000000000000000000000000000000000000000000 }, seq_num: 0 }, state: AwaitingELSyncCompletion }"},"target":"derivation"} execution-1 | {"timestamp":"2026-05-07T18:54:20.183908Z","level":"WARN","fields":{"message":"Post-merge network, but never seen beacon client. Please launch one to follow the chain!"}} execution-1 | {"timestamp":"2026-05-07T18:54:23.183729Z","level":"INFO","fields":{"message":"Status","connected_peers":14,"latest_block":"45649632"}}

matias949-source avatar May 07 '26 18:05 matias949-source

We're hitting the same AwaitingELSyncCompletion deadlock on Base Sepolia with two independent nodes after a fresh snapshot install.

Reproduced on:

  • base/node: v0.15.5
  • BASE_RETH_NODE_TAG: v0.7.6
  • Reth: reth/v1.11.3-d6324d6/.../base/v0.7.6

Environment

  • Network: Base Sepolia (chainId=84532)
  • Snapshot: https://sepolia-reth-pruned-snapshots.base.org/base-sepolia-pruned-reth-1778467989.tar.zst
    • Latest public snapshot as of 2026-05-11
  • L1: self-hosted Sepolia EL + Lighthouse beacon

EL state after snapshot restore

eth_getBlockByNumber latest    -> number=41349845, timestamp=1778467978  // 2026-05-06 14:13 UTC
eth_getBlockByNumber safe      -> number=41239291
eth_getBlockByNumber finalized -> number=39837863

finalized=39,837,863 corresponds to roughly 2026-04-19, which is before Azul activation on 2026-04-20 18:00 UTC.

So the current public snapshot appears to ship with a pre-Azul finalized head.

Symptom 1: Discovery fails immediately

With BASE_NODE_LOG_VERBOSITY=5, every bootnode from the shipped .env.sepolia is rejected:

TRACE discovery::bootstrap: Ignoring Invalid Bootnode ENR
  enr: Enr { ..., Other Pairs: [("opstack", "83854200"), ...] },
  validation: InvalidChainId(8453)

All 5 ENRs in both BASE_NODE_P2P_BOOTNODES and OP_NODE_P2P_BOOTNODES appear to carry opstack=8453 (mainnet).

As a result, Discv5 enrolls 0 bootstrap nodes:

DEBUG discovery::bootstrap: Failed to add boot node ENR to discovery table  res: Err(Timeout)
DEBUG discovery::bootstrap: Added new ENRs to discv5 bootstore  added: 0  total: 0
INFO  discovery: Discv5 Started  count: 0

This leaves the node with no gossip, no FCU, and the engine remains stuck in AwaitingELSyncCompletion.

Symptom 2: Follow-mode workaround crashes

Per #2344, follow mode is the documented workaround.

We tried:

BASE_NODE_SOURCE_L2_RPC=https://sepolia.base.org
BASE_NODE_L2_RPC_URL=http://127.0.0.1:18545

But base-consensus aborts within ~1 second of startup:

INFO  rollup_node: Starting follow node  chain_id: 84532  source: https://sepolia.base.org/
INFO  engine: Bootstrap: validator seeded engine state, awaiting gossip for EL sync  unsafe_head: 41349846
INFO  engine: Safe head unchanged  safe_head: 0
ERROR engine: Failed to drain engine tasks
       err: EngineReset(SyncStart(FromBlock(MissingL1InfoDeposit(
            0xfe3b2ce2bbec8cbd9e8003b82701c10e743c117ff5f2027387f660498d22bf2f
       ))))
ERROR rollup_node: Failed to start follow node  error: ChannelClosed
Error: ChannelClosed

The block hash:

0xfe3b2ce2bbec8cbd9e8003b82701c10e743c117ff5f2027387f660498d22bf2f

corresponds to L2 block 39,903,399, timestamp 1776713774 (2026-04-20 19:36 UTC).

This is the first post-Azul block we hit, roughly 1h36m after activation.

The block exists on the canonical chain. https://sepolia.base.org returns it with 27 transactions and a matching hash, so this does not appear to be chain divergence. It looks like the derivation pipeline is rejecting an L1 info deposit it expects but cannot find or parse.

Hypothesis

Follow mode's EngineReset -> SyncStart -> FromBlock(...) appears to walk forward from the EL finalized head.

Because the public snapshot's finalized head is pinned pre-Azul, the walker crosses the Azul activation boundary. At that point, the L1 info deposit format has changed, and the v0.7.6 derivation pipeline appears unable to handle this reset/resync path across the transition.

Operators whose finalized head is already post-Azul may not hit this crash (for example, nodes that ran continuously through activation). But for anyone bootstrapping from the current public Sepolia snapshot, follow mode appears unusable.

Things we tried that did not help

  • BASE_NODE_L2_TRUST_RPC=true
  • BASE_NODE_VERIFIER_L1_CONFS=4
  • BASE_NODE_SAFEDB_PATH=/data/safedb
    • Empty on first start
  • Restarting only the node container
  • Full container recreate
  • Fresh image build

All attempts resulted in the same crash signature.

Requests

  1. Could the published Sepolia reth pruned snapshot be refreshed so that finalized is post-Azul?
  2. Should .env.sepolia *_P2P_BOOTNODES contain Sepolia-chainId ENRs? Right now they appear to be rejected by Discv5 due to opstack=8453 mismatching chainId=84532.
  3. Is there a known fix planned for the MissingL1InfoDeposit path when follow mode performs an engine reset across the Azul activation boundary?

YakupAltay avatar May 11 '26 12:05 YakupAltay

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar May 26 '26 01:05 github-actions[bot]

This issue was closed because it has been inactive for 5 days since being marked as stale.

github-actions[bot] avatar Jun 02 '26 01:06 github-actions[bot]