Skip to main content

Module executor

Module executor 

Source

ModulesΒ§

optimism πŸ”’ base or 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.
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.