diff --git a/Cargo.lock b/Cargo.lock index 47f00b65e3..91fd0e1a43 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3390,9 +3390,8 @@ dependencies = [ "eyre", "futures-util", "reth", - "reth-chainspec", + "reth-ethereum", "reth-node-core", - "reth-node-ethereum", "serde_json", "tokio", ] diff --git a/examples/custom-dev-node/Cargo.toml b/examples/custom-dev-node/Cargo.toml index a001431c5a..95756b9e6a 100644 --- a/examples/custom-dev-node/Cargo.toml +++ b/examples/custom-dev-node/Cargo.toml @@ -7,9 +7,8 @@ license.workspace = true [dependencies] reth.workspace = true -reth-chainspec.workspace = true reth-node-core.workspace = true -reth-node-ethereum = { workspace = true, features = ["test-utils"] } +reth-ethereum = { workspace = true, features = ["node", "test-utils"] } futures-util.workspace = true eyre.workspace = true diff --git a/examples/custom-dev-node/src/main.rs b/examples/custom-dev-node/src/main.rs index eea90c9176..3aa806d51e 100644 --- a/examples/custom-dev-node/src/main.rs +++ b/examples/custom-dev-node/src/main.rs @@ -10,13 +10,13 @@ use alloy_primitives::{b256, hex}; use futures_util::StreamExt; use reth::{ builder::{NodeBuilder, NodeHandle}, - providers::CanonStateSubscriptions, - rpc::api::eth::helpers::EthTransactions, tasks::TaskManager, }; -use reth_chainspec::ChainSpec; +use reth_ethereum::{ + chainspec::ChainSpec, node::EthereumNode, provider::CanonStateSubscriptions, + rpc::api::eth::helpers::EthTransactions, +}; use reth_node_core::{args::RpcServerArgs, node_config::NodeConfig, primitives::SignedTransaction}; -use reth_node_ethereum::EthereumNode; #[tokio::main] async fn main() -> eyre::Result<()> {