refactor: split reth-stages into reth-stages-api and reth-stages (#7666)

Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>
This commit is contained in:
Abner Zheng
2024-04-19 19:35:20 +08:00
committed by GitHub
parent f14bf14d19
commit defe5ff0af
47 changed files with 212 additions and 114 deletions

View File

@@ -16,7 +16,7 @@ reth-primitives.workspace = true
reth-interfaces.workspace = true
reth-db.workspace = true
reth-provider.workspace = true
reth-stages.workspace = true
reth-stages-api.workspace = true
reth-trie = { workspace = true, features = ["metrics"] }
reth-trie-parallel = { workspace = true, features = ["parallel"] }

View File

@@ -26,7 +26,7 @@ use reth_provider::{
CanonStateNotification, CanonStateNotificationSender, CanonStateNotifications, Chain,
ChainSpecProvider, DisplayBlocksChain, ExecutorFactory, HeaderProvider, ProviderError,
};
use reth_stages::{MetricEvent, MetricEventsSender};
use reth_stages_api::{MetricEvent, MetricEventsSender};
use std::{
collections::{btree_map::Entry, BTreeMap, HashSet},
sync::Arc,