Skip to content

feat(rpc-types-debug): add header helpers to ExecutionWitness#3862

Merged
mattsse merged 1 commit into
mainfrom
matt/execution-witness-header-helpers
Apr 3, 2026
Merged

feat(rpc-types-debug): add header helpers to ExecutionWitness#3862
mattsse merged 1 commit into
mainfrom
matt/execution-witness-header-helpers

Conversation

@mattsse
Copy link
Copy Markdown
Member

@mattsse mattsse commented Apr 3, 2026

Adds with_headers and with_rlp_headers builder methods to ExecutionWitness, consolidating the repeated RLP-encode-and-collect pattern used across reth and stateless when populating witness headers.

with_headers accepts any IntoIterator<Item: Encodable> and handles encoding, while with_rlp_headers is a passthrough for already-encoded headers.

Related: paradigmxyz/stateless#14

Add `with_headers` and `with_rlp_headers` builder methods to
`ExecutionWitness` to consolidate the repeated RLP-encode-and-collect
pattern used in reth and stateless.
@mattsse mattsse merged commit d060d6a into main Apr 3, 2026
30 checks passed
@mattsse mattsse deleted the matt/execution-witness-header-helpers branch April 3, 2026 10:27
@github-project-automation github-project-automation Bot moved this to Done in Alloy Apr 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.

1 participant