mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-02-12 16:05:08 -05:00
chore: move StateProvider impls to state module (#1251)
This commit is contained in:
@@ -8,11 +8,11 @@ use reth_interfaces::Result;
|
||||
use reth_primitives::{rpc::BlockId, Block, BlockHash, BlockNumber, ChainInfo, Header, H256, U256};
|
||||
use std::sync::Arc;
|
||||
|
||||
mod historical;
|
||||
pub use historical::{HistoricalStateProvider, HistoricalStateProviderRef};
|
||||
|
||||
mod latest;
|
||||
pub use latest::{LatestStateProvider, LatestStateProviderRef};
|
||||
mod state;
|
||||
pub use state::{
|
||||
historical::{HistoricalStateProvider, HistoricalStateProviderRef},
|
||||
latest::{LatestStateProvider, LatestStateProviderRef},
|
||||
};
|
||||
|
||||
/// A common provider that fetches data from a database.
|
||||
///
|
||||
|
||||
3
crates/storage/provider/src/providers/state/mod.rs
Normal file
3
crates/storage/provider/src/providers/state/mod.rs
Normal file
@@ -0,0 +1,3 @@
|
||||
//! [StateProvider](crate::StateProvider) implementations
|
||||
pub(crate) mod historical;
|
||||
pub(crate) mod latest;
|
||||
Reference in New Issue
Block a user