Type Alias AlloyCacheDB

Source
pub(crate) type AlloyCacheDB = CacheDB<WrapDatabaseAsync<AlloyDB<Ethereum, DynProvider>>>;

Aliased Type§

struct AlloyCacheDB {
    pub cache: Cache,
    pub db: WrapDatabaseAsync<AlloyDB<Ethereum, DynProvider>>,
}

Fields§

§cache: Cache

The cache that stores all state changes.

§db: WrapDatabaseAsync<AlloyDB<Ethereum, DynProvider>>

The underlying database ([DatabaseRef]) that is used to load data.

Note: This is read-only, data is never written to this database.