chore: remove revm-primitives re-export (#12599)

This commit is contained in:
Matthias Seitz
2024-11-16 11:33:09 +01:00
committed by GitHub
parent d52c7194d1
commit d9ed07a367
28 changed files with 94 additions and 105 deletions

View File

@ -63,6 +63,7 @@ reth-transaction-pool.workspace = true
alloy-primitives.workspace = true
alloy-rpc-types = { workspace = true, features = ["engine"] }
alloy-consensus.workspace = true
revm-primitives.workspace = true
## async
futures.workspace = true

View File

@ -2,13 +2,6 @@
#![allow(clippy::type_complexity, missing_debug_implementations)]
pub mod add_ons;
mod states;
pub use states::*;
use std::sync::Arc;
use crate::{
common::WithConfigs,
components::NodeComponentsBuilder,
@ -38,13 +31,19 @@ use reth_node_core::{
node_config::NodeConfig,
primitives::Head,
};
use reth_primitives::revm_primitives::EnvKzgSettings;
use reth_provider::{providers::BlockchainProvider, ChainSpecProvider, FullProvider};
use reth_tasks::TaskExecutor;
use reth_transaction_pool::{PoolConfig, TransactionPool};
use revm_primitives::EnvKzgSettings;
use secp256k1::SecretKey;
use std::sync::Arc;
use tracing::{info, trace, warn};
pub mod add_ons;
mod states;
pub use states::*;
/// The adapter type for a reth node with the builtin provider type
// Note: we need to hardcode this because custom components might depend on it in associated types.
pub type RethFullAdapter<DB, Types> = FullNodeTypesAdapter<