Skip to content

feat: on_execution_payload fork choice test support#16547

Open
brech1 wants to merge 1 commit intoOffchainLabs:developfrom
brech1:gloas-fork-choice-tests
Open

feat: on_execution_payload fork choice test support#16547
brech1 wants to merge 1 commit intoOffchainLabs:developfrom
brech1:gloas-fork-choice-tests

Conversation

@brech1
Copy link

@brech1 brech1 commented Mar 16, 2026

What type of PR is this?

Feature

What does this PR do? Why is it needed?

Add test harness support for the on_execution_payload fork choice step type and head_payload_status check for Gloas.

  • Handle ExecutionPayloadEnvelope step in fork choice test runner
  • Insert payload envelope for Gloas anchor blocks
  • Gate on_execution_payload handler to Gloas and later forks
  • Enable StartOptimistic for Gloas fork choice tests

To enable:

  • Update consensus_spec_version to v1.7.0-alpha.3:

prysm/WORKSPACE

Line 276 in 36052ed

consensus_spec_version = "v1.7.0-alpha.2"

  • Register test files after:

"fulu__forkchoice__forkchoice_test.go",

"fulu__forkchoice__forkchoice_test.go",

Other notes for review

Let me know if this is useful, as it is right now it's just handlers code. I used this to check:

Otherwise, I can close and leave the committed changes on my fork for future implementers.

Acknowledgements

  • I have read CONTRIBUTING.md.
  • I have included a uniquely named changelog fragment file.
  • I have added a description with sufficient context for reviewers to understand this PR.
  • I have tested that my changes work as expected.

@CLAassistant
Copy link

CLAassistant commented Mar 16, 2026

CLA assistant check
All committers have signed the CLA.

@brech1 brech1 force-pushed the gloas-fork-choice-tests branch from 16bbed5 to 36136c7 Compare March 17, 2026 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants