Module db

Module db 

Source
Expand description

revm related types Helper types for working with revm

Structs§

LegacyBlobExcessGasAndPrice
Legacy blob excess gas and price structure from before v1.3.
LegacyBlockEnv
Legacy block environment from before v1.3.
SerializableAccountRecord
SerializableBlock
SerializableHistoricalStates
SerializableState
SerializableTransaction
StateDb
Represents a state at certain point

Enums§

SerializableTransactionType
Defines a backwards-compatible enum for transactions. This is essential for maintaining compatibility with state dumps created before the changes introduced in PR #8411.
StringOrU64
Legacy string or u64 type from before v1.3.

Traits§

Db
This bundles all required revm traits
MaybeForkedDatabase
Helper trait to reset the DB if it’s forked
MaybeFullDatabase
Helper trait get access to the full state data of the database

Functions§

deserialize_best_block_number_compat 🔒
Custom deserializer for best_block_number that handles both v1.2 and v1.3+ formats.
deserialize_block_env_compat 🔒
Custom deserializer for BlockEnv that handles both v1.2 and v1.3+ formats.
deserialize_btree 🔒