Make PayloadOrAttributes generic over ExecutionData #14651
Labels
A-engine
Related to the engine implementation
A-rpc
Related to the RPC implementation
C-enhancement
New feature or request
D-good-first-issue
Nice and easy! A great choice to get started
reth/crates/payload/primitives/src/payload.rs
Lines 7 to 15 in 9cb2a1e
currently used the concrete ethereum payload type
ExecutionData
we can change this with a generic
Payload
we can further simplify this enum variant to
ExecutionPayload(&'a Payload)
if we add a parent_beaconblock fn toreth/crates/engine/primitives/src/lib.rs
Line 44 in 9cb2a1e
TODO
ExecutionPayload
varianttrait ExecutionPayload
reth/crates/engine/primitives/src/lib.rs
Line 57 in 9cb2a1e
reth/crates/rpc/rpc-engine-api/src/engine_api.rs
Line 152 in 9cb2a1e
to
reth/crates/rpc/rpc-engine-api/src/engine_api.rs
Line 140 in 9cb2a1e
ref #14618
cc @yohkaz
FYI @emhane
The text was updated successfully, but these errors were encountered: