Skip to content

Comments

feat(provider): add engine_getPayloadBodiesByHashV2 and engine_getPay…#3647

Merged
mattsse merged 2 commits intoalloy-rs:mainfrom
snazzysam933:engine_getPayloadBodiesByHashV2
Feb 5, 2026
Merged

feat(provider): add engine_getPayloadBodiesByHashV2 and engine_getPay…#3647
mattsse merged 2 commits intoalloy-rs:mainfrom
snazzysam933:engine_getPayloadBodiesByHashV2

Conversation

@snazzysam933
Copy link
Contributor

The CAPABILITIES constant in rpc-types-engine declares support for engine_getPayloadBodiesByHashV2 and engine_getPayloadBodiesByRangeV2, but the EngineApi trait only implemented V1 versions. This could cause runtime errors when clients attempt to call V2 methods based on the declared capabilities.

Add get_payload_bodies_by_hash_v2 and get_payload_bodies_by_range_v2 methods to EngineApi trait

Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

ty

@github-project-automation github-project-automation bot moved this to Reviewed in Alloy Feb 5, 2026
@mattsse mattsse merged commit 2cf7de8 into alloy-rs:main Feb 5, 2026
30 checks passed
@github-project-automation github-project-automation bot moved this from Reviewed to Done in Alloy Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants