Skip to main content

Module backends

Module backends 

Source

Modules§

levm
self

Structs§

BlockExecutionResult
CachingDatabase
A database wrapper that caches state lookups for parallel pre-warming.
CallFrameBackup
Evm
FrameValidationOutcome
Outcome of an EIP-8141 mempool validation-prefix simulation (Evm::simulate_frame_validation_prefix). A local peer policy result, not a consensus value.
TxGasBreakdown
Per-tx gas-dimension snapshot captured at the block-execution boundary. All fields are pre-refund except gas_spent and gas_refunded which are the user-pays (post-refund) values.

Enums§

ExecutionGasCap
What a simulation does with the EIP-8037 cap on execution gas (Amsterdam+).
InternalError
TxStatus
VMError
VMType
Specifies whether the VM operates in L1 or L2 mode.

Constants§

BLOATED_BATCH_THRESHOLD
Distinct-cold-key count above which a prefetch routes to the sorted, sharded batch read instead of per-key parallel point-gets. Shared by the account and storage prefetch gates here and by the merkle trie-node prefetch gate in ethrex-blockchain, so tuning it moves all three together. ~16384 cold accesses is ~34M gas of cold reads: above ordinary cold blocks, below the large-state blocks these paths target. Tunable.

Traits§

LevmDatabase
StatelessValidator
Trait for stateless block validation, used by the EXECUTE precompile.

Functions§

compute_burned_fees
Compute burned fees for a block (EIP-8079, LStar+).
log_gas_used_mismatch
Emit a structured per-tx gas-dimension dump. Called from the block-validation site when block_gas_used disagrees with header.gas_used. If breakdowns is empty (paths that don’t populate it, e.g. L2 producer), a one-liner is logged.