chore: rm network event handling from node events (#12736)

This commit is contained in:
Matthias Seitz
2024-11-21 14:28:08 +01:00
committed by GitHub
parent fa7ad036ea
commit 4eca2fa1ee
4 changed files with 6 additions and 31 deletions

View File

@ -21,7 +21,7 @@ use reth_chainspec::EthChainSpec;
use reth_consensus_debug_client::{DebugConsensusClient, EtherscanBlockProvider, RpcBlockProvider};
use reth_engine_util::EngineMessageStreamExt;
use reth_exex::ExExManagerHandle;
use reth_network::{BlockDownloaderProvider, NetworkEventListenerProvider};
use reth_network::BlockDownloaderProvider;
use reth_node_api::{AddOnsContext, FullNodePrimitives, FullNodeTypes, NodeTypesWithEngine};
use reth_node_core::{
dirs::{ChainPath, DataDirPath},
@ -262,8 +262,6 @@ where
info!(target: "reth::cli", "Consensus engine initialized");
let events = stream_select!(
ctx.components().network().event_listener().map(Into::into),
beacon_engine_handle.event_listener().map(Into::into),
pipeline_events.map(Into::into),
if ctx.node_config().debug.tip.is_none() && !ctx.is_dev() {
Either::Left(