Expand description
Database implementations.
Re-exports§
pub use states::AccountRevert;
pub use states::AccountStatus;
pub use states::BundleAccount;
pub use states::BundleState;
pub use states::CacheState;
pub use states::DBBox;
pub use states::OriginalValuesKnown;
pub use states::PlainAccount;
pub use states::RevertToSlot;
pub use states::State;
pub use states::StateBuilder;
pub use states::StateDBBox;
pub use states::StorageWithOriginalValues;
pub use states::TransitionAccount;
pub use states::TransitionState;
pub use in_memory_db::*;
Modules§
- async_
db - Async database interface.
- empty_
db - Empty database implementation.
- in_
memory_ db - In-memory database implementations.
- states
- State management and tracking. State management and tracking for the EVM.
- try_
commit - Try database commit interface.
Structs§
- AlloyDB
- An alloy-powered REVM Database.
- ArcUpgrade
Error - Error type for implementation of
TryDatabaseCommit
onArc
. - DBTransport
Error - Error type for transport-related database operations.
- EmptyDB
Typed - An empty database that always returns default values when queried
- Wrap
Database Async - Wraps a DatabaseAsync or DatabaseAsyncRef to provide a
Database
implementation. - Wrap
Database Ref - Wraps a
DatabaseRef
to provide aDatabase
implementation.
Enums§
- BlockId
- A Block Identifier. https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1898.md
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§
- DBError
Marker - Database error marker is needed to implement From conversion for Error type.
- Database
- EVM database interface.
- Database
Async - The async EVM database interface
- Database
Commit - EVM database commit interface.
- Database
Ref - EVM database interface.
- TryDatabase
Commit - EVM database commit interface that can fail.
Type Aliases§
- EmptyDB
- An empty database that always returns default values when queried