Add executionPayload abstraction in PayloadTypes #12670
Labels
A-sdk
Related to reth's use as a library
C-enhancement
New feature or request
D-good-first-issue
Nice and easy! A great choice to get started
Describe the feature
currently we have hardcoded the executionpayload type and sidecar:
reth/crates/engine/primitives/src/message.rs
Lines 144 to 148 in 3408059
ideally we want this to be configurable.
especially when we want to make custom block types work.
first step would be introducing an associated in the
EngineTypes
reth/crates/engine/primitives/src/lib.rs
Line 33 in 3408059
that encapsulates both, for example
type ExecutionPayloadRequest
and add a helper type that has the payload and sidecar as fields
Additional context
No response
The text was updated successfully, but these errors were encountered: