Crate database_interface
Expand description
Database interface.
Structs§
- ArcUpgrade
Error - Error type for implementation of
TryDatabaseCommit
onArc
. - EmptyDB
Typed - An empty database that always returns default values when queried
- Wrap
Database Ref - Wraps a
DatabaseRef
to provide aDatabase
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§
- DBError
Marker - Database error marker is needed to implement From conversion for Error type.
- Database
- 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