Skip to content

Instantly share code, notes, and snippets.

@lodekeeper
Created September 3, 2026 09:58
Show Gist options
  • Select an option

  • Save lodekeeper/30a6da7403d4854b8f4ee14dc2aecee6 to your computer and use it in GitHub Desktop.

Select an option

Save lodekeeper/30a6da7403d4854b8f4ee14dc2aecee6 to your computer and use it in GitHub Desktop.
Prysm stuck at Gloas fork on glamsterdam-devnet-9 — root cause: consensus-specs v1.7.0-alpha.12 (Prysm develop) vs v1.7.0-alpha.14 (devnet) upgrade_to_gloas bid init

Prysm stuck at the Gloas fork on glamsterdam-devnet-9 — root cause

TL;DR — Prysm develop implements consensus-specs v1.7.0-alpha.12, but glamsterdam-devnet-9 runs v1.7.0-alpha.14. alpha.14 contains a consensus-breaking change to upgrade_to_gloas — the initialization of state.latest_execution_payload_bid (consensus-specs #5550 + #5553). Because that field is part of BeaconState, Prysm computes a different post-upgrade state root than the rest of the network, rejects the first Gloas block (slot 7203) with a state-root mismatch, and cannot follow the chain past the fork. Fix: bump Prysm to v1.7.0-alpha.14.

The Execution payload envelope ... not found in forkchoice warnings that also appear are a downstream symptom, not the cause: since no Gloas block ever enters Prysm's fork choice, later payload envelopes have nothing to attach to.


Symptom

Every Prysm beacon node on the devnet is wedged in initial-sync, repeating:

WARN initial-sync: Block processing failure
  error=... failed to validate consensus state transition function:
         could not execute state transition: could not validate state root,
  wanted:   0x11e6bf3205722cc299100ac2863958a5c16611815101dc8d810b33136374efc5
  received: 0x2458f99eebeb5cfab87fed85230e5b1ef32041c1539c59c4f1489c10c799a6e0
  firstSlot=7203 lastSlot=7203
  root=0x3cd7ca120a6cc81537b24f8e62656ac2ac892a47884607d41a73087701d20f15
  • GLOAS_FORK_EPOCH = 225 → first Gloas slot = 7200. Slot 7203 is the first Gloas block (7200–7202 were missed proposals).
  • wanted = the state_root the block commits to (computed by the alpha.14 network). received = Prysm's own computed post-state. Prysm is the diverging client.
  • Fleet-wide and deterministic — essentially every Prysm node fails on the same block at the same root.
  • The chain itself is healthy: the other clients (Lodestar / Lighthouse / Teku / Nimbus) are at head and finalizing well past the fork.

Root cause: spec-version gap at the fork transition

consensus-specs version date
Prysm develop (WORKSPACE: consensus_spec_version) v1.7.0-alpha.12 2026-07-08
glamsterdam-devnet-9 target v1.7.0-alpha.14 2026-08-19

Prysm is two releases behind. Between those tags, upgrade_to_gloas changed how it initializes state.latest_execution_payload_bid:

  • #5550 "Set the slot of the upgraded execution payload bid" (merged 2026-08-18) — sets bid.slot.
  • #5553 "Explicitly set bid fields when upgrading to Gloas" (merged 2026-08-19, self-labeled consensus breaking) — sets parent_block_hash, parent_block_root, prev_randao, builder_index = BUILDER_INDEX_SELF_BUILD, fee_recipient, …

In alpha.12 those fields are left at their zero values. latest_execution_payload_bid is hashed into BeaconState, so the post-upgrade state root differs immediately at the fork — and that difference propagates to the first Gloas block's post-state, which is where it is first checked against a block's committed state_root. (Separately, slot = 0 also causes the wrong execution_payload_availability bit to be referenced when processing the first Gloas block.)


Confirmation in Prysm's code

beacon-chain/core/gloas/upgrade.go (upgradeToGloas) — current develop:

LatestExecutionPayloadBid: &ethpb.ExecutionPayloadBid{
    BlockHash:             payloadHeader.BlockHash(),
    GasLimit:              payloadHeader.GasLimit(),
    FeeRecipient:          make([]byte, fieldparams.FeeRecipientLength), // zero
    ParentBlockHash:       make([]byte, fieldparams.RootLength),         // zero
    ParentBlockRoot:       make([]byte, fieldparams.RootLength),         // zero
    PrevRandao:            make([]byte, fieldparams.RootLength),         // zero
    ExecutionRequestsRoot: emptyExecutionRequestsRoot[:],
    // Slot not set (=> 0); BuilderIndex 0 (not BUILDER_INDEX_SELF_BUILD)
},

This is the alpha.12 shape. The function's own embedded spec comment is the alpha.12 form:

latest_execution_payload_bid=ExecutionPayloadBid(
    block_hash=pre.latest_execution_payload_header.block_hash,
    gas_limit=pre.latest_execution_payload_header.gas_limit,
    execution_requests_root=hash_tree_root(ExecutionRequests()),
),

The alpha.14 spec instead requires slot, parent_block_hash, parent_block_root, prev_randao, builder_index = BUILDER_INDEX_SELF_BUILD, and fee_recipient to be populated in that bid.


Fix

Update Prysm to consensus-specs v1.7.0-alpha.14 and bring upgrade_to_gloas in line with #5550 + #5553 (populate the bid slot and the explicit bid fields). Re-run the sync/fork Gloas spec tests at alpha.14 to confirm.

Grandine

Grandine is reported stuck at the same fork. This has not been verified at the code level, but the most likely cause is the same missing alpha.14 upgrade_to_gloas change in its Gloas upgrade path — worth checking there first.


Investigation by @lodekeeper. Evidence: devnet beacon-node logs; ethereum/consensus-specs v1.7.0-alpha.13…alpha.14 diff; Prysm develop @ c1d69e8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment