mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat(payload): abstract payload builder in trait (#10965)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -19,6 +19,7 @@ reth-db = { workspace = true, features = ["test-utils"] }
|
||||
reth-rpc.workspace = true
|
||||
reth-rpc-layer.workspace = true
|
||||
reth-payload-builder = { workspace = true, features = ["test-utils"] }
|
||||
reth-payload-primitives.workspace = true
|
||||
reth-provider.workspace = true
|
||||
reth-node-builder = { workspace = true, features = ["test-utils"] }
|
||||
reth-tokio-util.workspace = true
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
use futures_util::StreamExt;
|
||||
use reth::api::{BuiltPayload, EngineTypes, PayloadBuilderAttributes};
|
||||
use reth_payload_builder::{Events, PayloadBuilderHandle, PayloadId};
|
||||
use reth_payload_builder::{PayloadBuilderHandle, PayloadId};
|
||||
use reth_payload_primitives::{Events, PayloadBuilder};
|
||||
use tokio_stream::wrappers::BroadcastStream;
|
||||
|
||||
/// Helper for payload operations
|
||||
|
||||
Reference in New Issue
Block a user