Skip to main content

Module in_memory_db

Module in_memory_db 

Source
Expand description

In-memory database.

Re-exportsยง

use crate::state_snapshot::StateSnapshots; ๐Ÿ”’
use alloy_primitives::Address; ๐Ÿ”’
use alloy_primitives::B256; ๐Ÿ”’
use alloy_primitives::U256; ๐Ÿ”’
use foundry_fork_db::DatabaseError; ๐Ÿ”’
use revm::Database; ๐Ÿ”’
use revm::DatabaseCommit; ๐Ÿ”’
use revm::bytecode::Bytecode; ๐Ÿ”’
use revm::database::CacheDB; ๐Ÿ”’
use revm::database::DatabaseRef; ๐Ÿ”’
use revm::database::EmptyDB; ๐Ÿ”’
use revm::primitives::AddressMap; ๐Ÿ”’
use revm::state::Account; ๐Ÿ”’
use revm::state::AccountInfo; ๐Ÿ”’

Structsยง

EmptyDBWrapper
An empty database that always returns default values when queried.
MemDb
In-memory [Database] for Anvil.

Type Aliasesยง

FoundryEvmInMemoryDB
Type alias for an in-memory database.