chore: rm reth-interfaces from bin reth (#8483)

This commit is contained in:
Matthias Seitz
2024-05-29 17:05:18 +02:00
committed by GitHub
parent 77b872c3dc
commit d7e822f9d6
8 changed files with 10 additions and 8 deletions

3
Cargo.lock generated
View File

@ -6405,13 +6405,14 @@ dependencies = [
"reth-discv4", "reth-discv4",
"reth-discv5", "reth-discv5",
"reth-downloaders", "reth-downloaders",
"reth-errors",
"reth-ethereum-payload-builder", "reth-ethereum-payload-builder",
"reth-evm", "reth-evm",
"reth-exex", "reth-exex",
"reth-fs-util", "reth-fs-util",
"reth-interfaces",
"reth-network", "reth-network",
"reth-network-api", "reth-network-api",
"reth-network-p2p",
"reth-nippy-jar", "reth-nippy-jar",
"reth-node-api", "reth-node-api",
"reth-node-builder", "reth-node-builder",

View File

@ -23,7 +23,7 @@ reth-provider = { workspace = true }
reth-evm.workspace = true reth-evm.workspace = true
reth-revm.workspace = true reth-revm.workspace = true
reth-stages.workspace = true reth-stages.workspace = true
reth-interfaces = { workspace = true, features = ["clap"] } reth-errors.workspace = true
reth-transaction-pool.workspace = true reth-transaction-pool.workspace = true
reth-beacon-consensus.workspace = true reth-beacon-consensus.workspace = true
reth-cli-runner.workspace = true reth-cli-runner.workspace = true
@ -35,6 +35,7 @@ reth-rpc-types.workspace = true
reth-rpc-types-compat.workspace = true reth-rpc-types-compat.workspace = true
reth-rpc-api = { workspace = true, features = ["client"] } reth-rpc-api = { workspace = true, features = ["client"] }
reth-network = { workspace = true, features = ["serde"] } reth-network = { workspace = true, features = ["serde"] }
reth-network-p2p.workspace = true
reth-network-api.workspace = true reth-network-api.workspace = true
reth-downloaders.workspace = true reth-downloaders.workspace = true
reth-tracing.workspace = true reth-tracing.workspace = true

View File

@ -21,9 +21,9 @@ use reth_blockchain_tree::{
use reth_cli_runner::CliContext; use reth_cli_runner::CliContext;
use reth_consensus::Consensus; use reth_consensus::Consensus;
use reth_db::{init_db, DatabaseEnv}; use reth_db::{init_db, DatabaseEnv};
use reth_errors::RethResult;
use reth_evm::execute::{BlockExecutionOutput, BlockExecutorProvider, Executor}; use reth_evm::execute::{BlockExecutionOutput, BlockExecutorProvider, Executor};
use reth_fs_util as fs; use reth_fs_util as fs;
use reth_interfaces::RethResult;
use reth_node_api::PayloadBuilderAttributes; use reth_node_api::PayloadBuilderAttributes;
use reth_payload_builder::database::CachedReads; use reth_payload_builder::database::CachedReads;
use reth_primitives::{ use reth_primitives::{

View File

@ -24,9 +24,9 @@ use reth_downloaders::{
}; };
use reth_exex::ExExManagerHandle; use reth_exex::ExExManagerHandle;
use reth_fs_util as fs; use reth_fs_util as fs;
use reth_interfaces::p2p::{bodies::client::BodiesClient, headers::client::HeadersClient};
use reth_network::{NetworkEvents, NetworkHandle}; use reth_network::{NetworkEvents, NetworkHandle};
use reth_network_api::NetworkInfo; use reth_network_api::NetworkInfo;
use reth_network_p2p::{bodies::client::BodiesClient, headers::client::HeadersClient};
use reth_primitives::{ use reth_primitives::{
stage::StageId, BlockHashOrNumber, BlockNumber, ChainSpec, PruneModes, B256, stage::StageId, BlockHashOrNumber, BlockNumber, ChainSpec, PruneModes, B256,
}; };

View File

@ -15,9 +15,9 @@ use clap::Parser;
use reth_cli_runner::CliContext; use reth_cli_runner::CliContext;
use reth_config::Config; use reth_config::Config;
use reth_db::{init_db, DatabaseEnv}; use reth_db::{init_db, DatabaseEnv};
use reth_errors::BlockValidationError;
use reth_evm::execute::{BlockExecutionOutput, BlockExecutorProvider, Executor}; use reth_evm::execute::{BlockExecutionOutput, BlockExecutorProvider, Executor};
use reth_fs_util as fs; use reth_fs_util as fs;
use reth_interfaces::executor::BlockValidationError;
use reth_network::NetworkHandle; use reth_network::NetworkHandle;
use reth_network_api::NetworkInfo; use reth_network_api::NetworkInfo;
use reth_primitives::{stage::StageId, BlockHashOrNumber, ChainSpec, Receipts}; use reth_primitives::{stage::StageId, BlockHashOrNumber, ChainSpec, Receipts};

View File

@ -19,9 +19,9 @@ use reth_consensus::Consensus;
use reth_db::{cursor::DbCursorRO, init_db, tables, transaction::DbTx, DatabaseEnv}; use reth_db::{cursor::DbCursorRO, init_db, tables, transaction::DbTx, DatabaseEnv};
use reth_evm::execute::{BatchBlockExecutionOutput, BatchExecutor, BlockExecutorProvider}; use reth_evm::execute::{BatchBlockExecutionOutput, BatchExecutor, BlockExecutorProvider};
use reth_fs_util as fs; use reth_fs_util as fs;
use reth_interfaces::p2p::full_block::FullBlockClient;
use reth_network::NetworkHandle; use reth_network::NetworkHandle;
use reth_network_api::NetworkInfo; use reth_network_api::NetworkInfo;
use reth_network_p2p::full_block::FullBlockClient;
use reth_primitives::{stage::StageCheckpoint, BlockHashOrNumber, ChainSpec, PruneModes}; use reth_primitives::{stage::StageCheckpoint, BlockHashOrNumber, ChainSpec, PruneModes};
use reth_provider::{ use reth_provider::{
BlockNumReader, BlockWriter, BundleStateWithReceipts, HeaderProvider, LatestStateProviderRef, BlockNumReader, BlockWriter, BundleStateWithReceipts, HeaderProvider, LatestStateProviderRef,

View File

@ -22,7 +22,7 @@ use reth_downloaders::{
file_client::{ChunkedFileReader, FileClient, DEFAULT_BYTE_LEN_CHUNK_CHAIN_FILE}, file_client::{ChunkedFileReader, FileClient, DEFAULT_BYTE_LEN_CHUNK_CHAIN_FILE},
headers::reverse_headers::ReverseHeadersDownloaderBuilder, headers::reverse_headers::ReverseHeadersDownloaderBuilder,
}; };
use reth_interfaces::p2p::{ use reth_network_p2p::{
bodies::downloader::BodyDownloader, bodies::downloader::BodyDownloader,
headers::downloader::{HeaderDownloader, SyncTarget}, headers::downloader::{HeaderDownloader, SyncTarget},
}; };

View File

@ -14,8 +14,8 @@ use clap::{Parser, Subcommand};
use discv5::ListenConfig; use discv5::ListenConfig;
use reth_config::Config; use reth_config::Config;
use reth_db::create_db; use reth_db::create_db;
use reth_interfaces::p2p::bodies::client::BodiesClient;
use reth_network::NetworkConfigBuilder; use reth_network::NetworkConfigBuilder;
use reth_network_p2p::bodies::client::BodiesClient;
use reth_primitives::{BlockHashOrNumber, ChainSpec}; use reth_primitives::{BlockHashOrNumber, ChainSpec};
use reth_provider::ProviderFactory; use reth_provider::ProviderFactory;
use std::{ use std::{