chore: rm beacon consensus deps everywhere (#13722)

This commit is contained in:
Matthias Seitz
2025-01-08 12:49:54 +01:00
committed by GitHub
parent 856479bfcf
commit baf92e33fb
18 changed files with 30 additions and 35 deletions

View File

@@ -13,7 +13,6 @@ workspace = true
[dependencies]
## reth
reth-beacon-consensus.workspace = true
reth-chain-state.workspace = true
reth-chainspec.workspace = true
reth-cli-util.workspace = true

View File

@@ -2,7 +2,6 @@
use alloy_consensus::BlockHeader;
use futures::{future::Either, stream, stream_select, StreamExt};
use reth_beacon_consensus::BeaconConsensusEngineHandle;
use reth_chainspec::EthChainSpec;
use reth_consensus_debug_client::{DebugConsensusClient, EtherscanBlockProvider};
use reth_db_api::{
@@ -20,8 +19,8 @@ use reth_exex::ExExManagerHandle;
use reth_network::{NetworkSyncUpdater, SyncState};
use reth_network_api::BlockDownloaderProvider;
use reth_node_api::{
BuiltPayload, FullNodeTypes, NodeTypesWithDBAdapter, NodeTypesWithEngine,
PayloadAttributesBuilder, PayloadBuilder, PayloadTypes,
BeaconConsensusEngineHandle, BuiltPayload, FullNodeTypes, NodeTypesWithDBAdapter,
NodeTypesWithEngine, PayloadAttributesBuilder, PayloadBuilder, PayloadTypes,
};
use reth_node_core::{
dirs::{ChainPath, DataDirPath},

View File

@@ -13,7 +13,6 @@ workspace = true
[dependencies]
# reth
reth-storage-api.workspace = true
reth-beacon-consensus.workspace = true
reth-network-api.workspace = true
reth-stages.workspace = true
reth-prune-types.workspace = true

View File

@@ -5,8 +5,9 @@ use alloy_consensus::{constants::GWEI_TO_WEI, BlockHeader};
use alloy_primitives::{BlockNumber, B256};
use alloy_rpc_types_engine::ForkchoiceState;
use futures::Stream;
use reth_beacon_consensus::{BeaconConsensusEngineEvent, ConsensusEngineLiveSyncProgress};
use reth_engine_primitives::ForkchoiceStatus;
use reth_engine_primitives::{
BeaconConsensusEngineEvent, ConsensusEngineLiveSyncProgress, ForkchoiceStatus,
};
use reth_network_api::PeersInfo;
use reth_primitives_traits::{format_gas, format_gas_throughput, BlockBody, NodePrimitives};
use reth_prune_types::PrunerEvent;