Skip to main content

Module levm

Module levm 

Source

Modules§

db

Structs§

CompletedGas
Gas spent so far by the transactions parallel execution has finished, per EIP-8037 dimension, so it can stop once the block is over its gas limit.
LEVM
The struct implements the following functions: LEVM::execute_block LEVM::execute_tx LEVM::get_state_transitions LEVM::process_withdrawals

Enums§

BalValidationError
Error type for BAL validation failures, distinguishing state mismatches from database errors.

Functions§

block_work_budget
Upper bound on the gas a block can legitimately spend across all its transactions.
calculate_gas_price_for_generic
Calculating gas_price according to EIP-1559 rules See https://github.com/ethereum/go-ethereum/blob/7ee9a6e89f59cee21b5852f5f6ffa2bcfc05a25f/internal/ethapi/transaction_args.go#L430
calculate_gas_price_for_tx
check_2d_gas_allowance
EIP-8037 (Amsterdam+, execution-specs PR #2703) per-tx 2D inclusion check.
check_minimum_block_work
Reject a block whose transactions cannot all be admitted, before executing any of them.
extract_all_requests_levm
generic_system_contract_levm
get_max_allowed_gas_limit