mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: rm reth-provider dep (#12376)
This commit is contained in:
@ -14,10 +14,9 @@ workspace = true
|
||||
[dependencies]
|
||||
# reth
|
||||
reth-primitives = { workspace = true, optional = true }
|
||||
reth-provider.workspace = true
|
||||
reth-chain-state.workspace = true
|
||||
reth-payload-primitives.workspace = true
|
||||
reth-ethereum-engine-primitives.workspace = true
|
||||
reth-chain-state = { workspace = true, optional = true }
|
||||
|
||||
# alloy
|
||||
alloy-primitives = { workspace = true, optional = true }
|
||||
@ -38,16 +37,13 @@ tracing.workspace = true
|
||||
|
||||
[dev-dependencies]
|
||||
reth-primitives.workspace = true
|
||||
reth-chain-state.workspace = true
|
||||
alloy-primitives.workspace = true
|
||||
revm.workspace = true
|
||||
|
||||
[features]
|
||||
test-utils = [
|
||||
"alloy-primitives",
|
||||
"reth-chain-state",
|
||||
"reth-chain-state/test-utils",
|
||||
"reth-primitives/test-utils",
|
||||
"reth-provider/test-utils",
|
||||
"revm/test-utils"
|
||||
]
|
||||
|
||||
@ -9,11 +9,11 @@ use crate::{
|
||||
};
|
||||
use alloy_rpc_types::engine::PayloadId;
|
||||
use futures_util::{future::FutureExt, Stream, StreamExt};
|
||||
use reth_chain_state::CanonStateNotification;
|
||||
use reth_payload_primitives::{
|
||||
BuiltPayload, Events, PayloadBuilder, PayloadBuilderAttributes, PayloadBuilderError,
|
||||
PayloadEvents, PayloadKind, PayloadTypes,
|
||||
};
|
||||
use reth_provider::CanonStateNotification;
|
||||
use std::{
|
||||
fmt,
|
||||
future::Future,
|
||||
|
||||
@ -6,10 +6,9 @@ use crate::{
|
||||
};
|
||||
|
||||
use alloy_primitives::U256;
|
||||
use reth_chain_state::ExecutedBlock;
|
||||
use reth_chain_state::{CanonStateNotification, ExecutedBlock};
|
||||
use reth_payload_primitives::{PayloadBuilderError, PayloadKind, PayloadTypes};
|
||||
use reth_primitives::Block;
|
||||
use reth_provider::CanonStateNotification;
|
||||
use std::{
|
||||
future::Future,
|
||||
pin::Pin,
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
//! Trait abstractions used by the payload crate.
|
||||
|
||||
use reth_chain_state::CanonStateNotification;
|
||||
use reth_payload_primitives::{
|
||||
BuiltPayload, PayloadBuilderAttributes, PayloadBuilderError, PayloadKind,
|
||||
};
|
||||
use reth_provider::CanonStateNotification;
|
||||
use std::future::Future;
|
||||
|
||||
/// A type that can build a payload.
|
||||
|
||||
Reference in New Issue
Block a user