mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: abstract OP payload builder over transaction (#14153)
This commit is contained in:
@ -25,6 +25,7 @@ alloy-rpc-types-engine = { workspace = true, features = ["serde"] }
|
||||
op-alloy-rpc-types-engine = { workspace = true, optional = true }
|
||||
|
||||
# misc
|
||||
auto_impl.workspace = true
|
||||
serde.workspace = true
|
||||
thiserror.workspace = true
|
||||
tokio = { workspace = true, default-features = false, features = ["sync"] }
|
||||
|
||||
@ -11,6 +11,7 @@ use reth_primitives::{NodePrimitives, SealedBlock};
|
||||
|
||||
/// Represents a built payload type that contains a built `SealedBlock` and can be converted into
|
||||
/// engine API execution payloads.
|
||||
#[auto_impl::auto_impl(&, Arc)]
|
||||
pub trait BuiltPayload: Send + Sync + fmt::Debug {
|
||||
/// The node's primitive types
|
||||
type Primitives: NodePrimitives;
|
||||
|
||||
Reference in New Issue
Block a user