revm/
db.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//! [Database] implementations.

#[cfg(any(feature = "alloydb", feature = "ethersdb"))]
mod utils;

#[cfg(feature = "alloydb")]
mod alloydb;
pub mod emptydb;
#[cfg(feature = "ethersdb")]
mod ethersdb;
pub mod in_memory_db;
pub mod states;

pub use crate::primitives::db::*;
#[cfg(feature = "alloydb")]
pub use alloydb::AlloyDB;
pub use emptydb::{EmptyDB, EmptyDBTyped};
#[cfg(feature = "ethersdb")]
pub use ethersdb::EthersDB;
pub use in_memory_db::*;
pub use states::{
    AccountRevert, AccountStatus, BundleAccount, BundleState, CacheState, DBBox,
    OriginalValuesKnown, PlainAccount, RevertToSlot, State, StateBuilder, StateDBBox,
    StorageWithOriginalValues, TransitionAccount, TransitionState,
};