diff --git a/Cargo.lock b/Cargo.lock index 5f9de84f0..53064f34d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6428,6 +6428,7 @@ name = "reth-cli-commands" version = "1.0.6" dependencies = [ "ahash", + "alloy-primitives", "arbitrary", "backon", "clap", diff --git a/crates/cli/commands/Cargo.toml b/crates/cli/commands/Cargo.toml index 4a8c71dbe..3be973afb 100644 --- a/crates/cli/commands/Cargo.toml +++ b/crates/cli/commands/Cargo.toml @@ -10,6 +10,7 @@ repository.workspace = true [lints] [dependencies] +# reth reth-beacon-consensus.workspace = true reth-chainspec.workspace = true reth-cli.workspace = true @@ -42,6 +43,9 @@ reth-static-file.workspace = true reth-trie = { workspace = true, features = ["metrics"] } reth-trie-db = { workspace = true, features = ["metrics"] } +# ethereum +alloy-primitives.workspace = true + itertools.workspace = true futures.workspace = true tokio.workspace = true diff --git a/crates/cli/commands/src/common.rs b/crates/cli/commands/src/common.rs index a2feb822a..3b86417e5 100644 --- a/crates/cli/commands/src/common.rs +++ b/crates/cli/commands/src/common.rs @@ -1,5 +1,6 @@ //! Contains common `reth` arguments +use alloy_primitives::B256; use clap::Parser; use reth_beacon_consensus::EthBeaconConsensus; use reth_chainspec::ChainSpec; @@ -14,7 +15,6 @@ use reth_node_core::{ args::{DatabaseArgs, DatadirArgs}, dirs::{ChainPath, DataDirPath}, }; -use reth_primitives::B256; use reth_provider::{providers::StaticFileProvider, ProviderFactory, StaticFileProviderFactory}; use reth_stages::{sets::DefaultStages, Pipeline, PipelineTarget}; use reth_static_file::StaticFileProducer; diff --git a/crates/cli/commands/src/db/get.rs b/crates/cli/commands/src/db/get.rs index 60faea012..bb3eff54f 100644 --- a/crates/cli/commands/src/db/get.rs +++ b/crates/cli/commands/src/db/get.rs @@ -1,3 +1,4 @@ +use alloy_primitives::BlockHash; use clap::Parser; use reth_chainspec::ChainSpec; use reth_db::{ @@ -7,7 +8,7 @@ use reth_db::{ use reth_db_api::table::{Decompress, DupSort, Table}; use reth_db_common::DbTool; use reth_node_builder::NodeTypesWithDB; -use reth_primitives::{BlockHash, Header}; +use reth_primitives::Header; use reth_provider::StaticFileProviderFactory; use reth_static_file_types::StaticFileSegment; use tracing::error; @@ -204,10 +205,10 @@ pub(crate) fn maybe_json_value_parser(value: &str) -> Result