chore: Move consensus trait to standalone crate (#7757)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
ThreeHrSleep
2024-04-23 17:20:19 +05:30
committed by GitHub
parent 3224837523
commit 6d2e20cd85
66 changed files with 185 additions and 146 deletions

View File

@ -18,9 +18,9 @@ reth-network-api.workspace = true
reth-stages.workspace = true
reth-prune.workspace = true
reth-static-file.workspace = true
reth-interfaces.workspace = true
reth-db.workspace = true
reth-primitives.workspace = true
reth-rpc-types.workspace = true
# async
tokio.workspace = true

View File

@ -6,7 +6,6 @@ use reth_beacon_consensus::{
BeaconConsensusEngineEvent, ConsensusEngineLiveSyncProgress, ForkchoiceStatus,
};
use reth_db::{database::Database, database_metrics::DatabaseMetadata};
use reth_interfaces::consensus::ForkchoiceState;
use reth_network::{NetworkEvent, NetworkHandle};
use reth_network_api::PeersInfo;
use reth_primitives::{
@ -15,6 +14,7 @@ use reth_primitives::{
BlockNumber, B256,
};
use reth_prune::PrunerEvent;
use reth_rpc_types::engine::ForkchoiceState;
use reth_stages::{ExecOutput, PipelineEvent};
use reth_static_file::StaticFileProducerEvent;
use std::{