anton-rs / kona

A suite of `no_std` components for the OP Stack state transition function and L2 chain derivation.
https://anton-rs.github.io/kona
MIT License
132 stars 41 forks source link

fix(primitives): Remove Attributes Module #510

Closed refcell closed 1 month ago

refcell commented 2 months ago

Description

The attributes module in kona-primitives contains two core types to upstream into op-alloy-rpc-types-engine.

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.