chore: move StateProvider impls to state module (#1251)

This commit is contained in:
Matthias Seitz
2023-02-09 16:41:14 +01:00
committed by GitHub
parent c9629d0c9e
commit ebd5d3c1a2
4 changed files with 8 additions and 5 deletions

View File

@@ -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.
///

View File

@@ -0,0 +1,3 @@
//! [StateProvider](crate::StateProvider) implementations
pub(crate) mod historical;
pub(crate) mod latest;