Skip to main content

Module executor

Module executor 

Source

Modules§

optimism 🔒 optimism
OP-stack receipt construction for the Anvil block executor.

Structs§

ActiveEthereumSpec 🔒
A hardfork specification whose configured Ethereum fork is active from genesis.
AnvilBlockExecutor
Block executor for Anvil that implements [BlockExecutor].
AnvilTxResult
Result of executing a transaction in AnvilBlockExecutor.
EthereumBlockTransitions 🔒
Ethereum-only consensus transition configuration for an Anvil block executor.
ExecutedPoolTransactions
Result of executing pool transactions against a block executor.
FoundryReceiptBuilder
Receipt builder for transaction types that do not require network-specific metadata.
PoolTransactionHooks
Hooks invoked around each candidate transaction’s execution.
PoolTxGasConfig
Gas-related configuration for pool transaction execution.

Enums§

BlockExecutionKind 🔒
Determines whether an executor produces a complete block or a historical transaction prefix.

Functions§

append_deposit_requests 🔒
apply_ethereum_post_execution_changes 🔒
Collects deposits before draining the withdrawal and consolidation request queues.
apply_ethereum_pre_execution_changes 🔒
Applies canonical Ethereum block-start transitions in consensus order.
block_blob_gas_limit 🔒
Returns the block’s blob gas budget.
build_tx_env_for_pending
Builds the EVM transaction env from a pending pool transaction.
execute_pool_transaction 🔒
Executes a pool candidate through the block executor’s ordinary transaction entry point.
execute_pool_transactions
Executes pool transactions against a block executor, handling validation, execution, commit, inspector drain, and result collection.