Skip to content

implement engine get exeuction payload bodies v2#10550

Merged
mehdi-aouadi merged 5 commits intoConsensys:masterfrom
mehdi-aouadi:10098-5-get-execution-payload-bodies
Apr 13, 2026
Merged

implement engine get exeuction payload bodies v2#10550
mehdi-aouadi merged 5 commits intoConsensys:masterfrom
mehdi-aouadi:10098-5-get-execution-payload-bodies

Conversation

@mehdi-aouadi
Copy link
Copy Markdown
Contributor

@mehdi-aouadi mehdi-aouadi commented Apr 13, 2026

PR Description

Implement engine_getPayloadBodiesByHashV2 required for execution payload unblinding

Fixed Issue(s)

partially #10098

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

  • I thought about adding a changelog entry, and added one if I deemed necessary.

Note

Medium Risk
Adds a new Engine API call and wires it through execution client, execution layer handler, and capability negotiation; incorrect wiring/serialization could break payload unblinding flows or EL compatibility for Gloas+ networks.

Overview
Adds support for the EL JSON-RPC method engine_getPayloadBodiesByHashV2 end-to-end to enable execution payload unblinding.

This introduces the ExecutionPayloadBodyV2 execution-client schema plus a new internal ExecutionPayloadBody type, exposes a new ExecutionEngineClient.getPayloadBodiesByHashV2 call (with throttling, metrics, and web3j implementations), and adds a corresponding engine JSON-RPC method wrapper EngineGetPayloadBodiesByHashV2.

The execution layer is extended with engineGetPayloadBodiesByHash plumbing (handler + manager) and the milestone resolver advertises/serves the method for GLOAS (and later) capabilities; integration and resolver tests are updated to cover request/response round-tripping and capability listing.

Reviewed by Cursor Bugbot for commit d361dc6. Bugbot is set up for automated code reviews on this repo. Configure here.

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Reviewed by Cursor Bugbot for commit bf73e12. Configure here.

Copy link
Copy Markdown
Contributor

@tbenr tbenr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mehdi-aouadi mehdi-aouadi enabled auto-merge (squash) April 13, 2026 12:38
@mehdi-aouadi mehdi-aouadi self-assigned this Apr 13, 2026
@mehdi-aouadi mehdi-aouadi merged commit c9084d5 into Consensys:master Apr 13, 2026
68 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Apr 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants