Repository navigation
fix: subscribe to execution_payload instead of execution_payload_available - #253
Merged
barnabasbusa merged 2 commits intoNov 27, 2026
Merged
Conversation
`execution_payload_available` is sent when the payload is available for payload attestation, which can be before the envelope is imported. A Lodestar node answers the envelope request with a 404 until the import is done, and assertoor does not retry, so payload based block checks never see a payload. Also subscribe to `execution_payload`, sent after the import, on its own stream so nodes without that topic still deliver `execution_payload_available`. 🤖 Generated with AI assistance
…lable `execution_payload` is sent after the envelope is imported, so the envelope can be fetched right away. Drop `execution_payload_available`, which assertoor picked before `execution_payload` was in the beacon API and which can arrive before the envelope is served. 🤖 Generated with AI assistance
barnabasbusa
approved these changes
Nov 27, 2026
barnabasbusa
enabled auto-merge
November 27, 2026 12:32
nflaig
pushed a commit
to ChainSafe/lodestar
that referenced
this pull request
Nov 27, 2026
## Motivation No nightly takes Lodestar through the gloas and heze fork transitions. The builder smoke test starts on gloas at genesis and the consensus client interop runs fulu only. ## Description Add a second entry to the nightly Kurtosis sim test matrix: two Lodestar nodes built from the commit on `ethpandaops/nethermind:master`, fulu at genesis, gloas at epoch 1 and heze at epoch 2, with the assertoor stability, block proposal, transaction and blob transaction checks. The existing Lodestar + Lighthouse entry is unchanged, and each entry gets its own enclave name so the dump artifacts don't collide. nethermind master supports the heze EL fork: in an engine API interop run with a heze scenario ([run](https://github.com/ChainSafe/lodestar/actions/runs/45883843008)) reth and nethermind main went through gloas and heze to finality, while geth, besu, erigon, nimbus-eth1 and ethrex main don't implement the FOCIL engine methods yet. Needs assertoor master with ethpandaops/assertoor#252 (heze containers in go-eth2-client) and ethpandaops/assertoor#253 (fetch gloas payload envelopes on the `execution_payload` event), both merged on 2026-11-27. With them the new entry passed all four assertoor tests in [this run](https://github.com/ChainSafe/lodestar/actions/runs/45900628311) (assertoor `git-ec8f447`). The temporary `pull_request` trigger used for that run is reverted. > This PR was written with AI assistance. --------- Co-authored-by: lodekeeper <lodekeeper@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On gloas,
check_consensus_block_proposalscan't get the execution payload envelope of any block from Lodestar nodes. Every payload based check then fails withand the transaction and blob tests time out. In the kurtosis run on ChainSafe/lodestar#10810 (two Lodestar nodes, gloas and heze), this happened for all 155 blocks from slot 33 to 322. The chain was fine and transactions were being included.
Assertoor fetches the envelope from
/eth/v1/beacon/execution_payload_envelopes/{root}when it gets anexecution_payload_availableevent (and once when it processes the block). A 404 counts as "no payload" and nothing retries. Per the beacon API,execution_payload_availablemeans the payload and blobs are available for payload attestation, whileexecution_payloadmeans fork choice has imported the envelope. Lodestar sendsexecution_payload_availableat the start of the import and answers the envelope endpoint with 404 until fork choice has the block's full node, so the fetch onexecution_payload_availablealways misses.execution_payloadwas only added to the beacon API in ethereum/beacon-APIs#588, after assertoor started usingexecution_payload_available.execution_payloadinstead ofexecution_payload_availableand decode it asv1.ExecutionPayloadEventgo test ./...,go vet ./...,gofmt -s,staticcheck ./...and golangci-lint v2.11.3 pass. The new test feeds the beacon API exampleexecution_payloadevent through the stream handler.