Skip to content

Comments

feat(rpc-types-engine): add ExecutionPayloadBodyV2 for EIP-7928#3636

Merged
mattsse merged 1 commit intomainfrom
feat-execution-payload-body-v2
Feb 3, 2026
Merged

feat(rpc-types-engine): add ExecutionPayloadBodyV2 for EIP-7928#3636
mattsse merged 1 commit intomainfrom
feat-execution-payload-body-v2

Conversation

@gakonst
Copy link
Member

@gakonst gakonst commented Feb 3, 2026

Summary

Adds ExecutionPayloadBodyV2 type which extends V1 with a blockAccessList field for the Block Access List feature introduced in EIP-7928.

This follows the recent spec update that moved BAL into the engine_getPayloadBodiesV2 response instead of having separate engine_getBALsByHash/Range methods.

Changes

  • Add ExecutionPayloadBodyV2 struct with transactions, withdrawals, and block_access_list fields
  • Add ExecutionPayloadBodiesV2 type alias
  • Add from_block and new constructors
  • Add bidirectional conversion between V1 and V2
  • Add V2 endpoints to CAPABILITIES list
  • Add serde and conversion tests

Adds ExecutionPayloadBodyV2 type which extends V1 with a blockAccessList field
for the Block Access List feature introduced in EIP-7928.

- Add ExecutionPayloadBodyV2 struct with transactions, withdrawals, and block_access_list fields
- Add ExecutionPayloadBodiesV2 type alias
- Add from_block and new constructors
- Add bidirectional conversion between V1 and V2
- Add V2 endpoints to CAPABILITIES list
- Add serde and conversion tests

Amp-Thread-ID: https://ampcode.com/threads/T-019c2103-9dd3-737f-a8e4-86e0842c5036
Co-authored-by: Amp <[email protected]>
@github-project-automation github-project-automation bot moved this to Reviewed in Alloy Feb 3, 2026
@mattsse mattsse merged commit a2e7fcf into main Feb 3, 2026
30 checks passed
@mattsse mattsse deleted the feat-execution-payload-body-v2 branch February 3, 2026 10:58
@github-project-automation github-project-automation bot moved this from Reviewed to Done in Alloy Feb 3, 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