mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-26 23:58:46 -05:00
chore: MoveStatsReader trait to storage-api and reexport it from old provider crate (#12485)
This commit is contained in:
committed by
GitHub
parent
b6558f6bcf
commit
8221e5bd54
@@ -46,8 +46,8 @@ pub use reth_chain_state::{
|
||||
CanonStateNotifications, CanonStateSubscriptions,
|
||||
};
|
||||
|
||||
// reexport HistoryWriter trait
|
||||
pub use reth_storage_api::HistoryWriter;
|
||||
// reexport traits to avoid breaking changes
|
||||
pub use reth_storage_api::{HistoryWriter, StatsReader};
|
||||
|
||||
pub(crate) fn to_range<R: std::ops::RangeBounds<u64>>(bounds: R) -> std::ops::Range<u64> {
|
||||
let start = match bounds.start_bound() {
|
||||
|
||||
@@ -29,9 +29,6 @@ pub use trie::{StorageTrieWriter, TrieWriter};
|
||||
mod static_file_provider;
|
||||
pub use static_file_provider::StaticFileProviderFactory;
|
||||
|
||||
mod stats;
|
||||
pub use stats::StatsReader;
|
||||
|
||||
mod full;
|
||||
pub use full::{FullProvider, FullRpcProvider};
|
||||
|
||||
|
||||
@@ -56,3 +56,6 @@ pub mod noop;
|
||||
|
||||
mod history;
|
||||
pub use history::*;
|
||||
|
||||
mod stats;
|
||||
pub use stats::*;
|
||||
|
||||
Reference in New Issue
Block a user