Crate revm_database_interface

Source
Expand description

Optimism-specific constants, types, and helpers.

Re-exports§

pub use async_db::DatabaseAsync;
pub use async_db::WrapDatabaseAsync;
pub use empty_db::EmptyDB;
pub use empty_db::EmptyDBTyped;
pub use try_commit::ArcUpgradeError;
pub use try_commit::TryDatabaseCommit;

Modules§

async_db
Async database interface.
empty_db
Empty database implementation.
try_commit
Try database commit interface.

Structs§

WrapDatabaseRef
Wraps a DatabaseRef to provide a Database implementation.

Constants§

BENCH_CALLER
BENCH_CALLER address
BENCH_CALLER_BALANCE
BENCH_CALLER_BALANCE balance
BENCH_TARGET
BENCH_TARGET address
BENCH_TARGET_BALANCE
BENCH_TARGET_BALANCE balance
EEADDRESS
Address with all 0xee..ee in it. Used for testing.
FFADDRESS
Address with all 0xff..ff in it. Used for testing.

Traits§

DBErrorMarker
Database error marker is needed to implement From conversion for Error type.
Database
EVM database interface.
DatabaseCommit
EVM database commit interface.
DatabaseRef
EVM database interface.