The attributes module in kona-primitives contains two core types to upstream into op-alloy-rpc-types-engine.
L2PayloadAttributes
L2AttributesWithParent
op-alloy-rpc-types-engine already defines a OptimismPayloadAttributes that should serve as a drop-in replacement for L2PayloadAttributes, but L2AttributesWithParent will need to be upstreamed to op-alloy-rpc-types-engine.
Additionally, the op-alloy-rpc-types-engine should be made optionally serde, enabling the feature by default.
Description
The
attributes
module inkona-primitives
contains two core types to upstream intoop-alloy-rpc-types-engine
.L2PayloadAttributes
L2AttributesWithParent
op-alloy-rpc-types-engine
already defines aOptimismPayloadAttributes
that should serve as a drop-in replacement forL2PayloadAttributes
, butL2AttributesWithParent
will need to be upstreamed toop-alloy-rpc-types-engine
.Additionally, the
op-alloy-rpc-types-engine
should be made optionallyserde
, enabling the feature by default.