Skip to main content

Module execution

Module execution 

Source
Expand description

EVM execution logic and utilities.

Functions§

create_init_frame
Creates the first FrameInput from the transaction and the transaction-level gas, forwarding all remaining regular gas and the reservoir to the frame.
runtime_oog_unwind
Unwinds the EIP-2780 runtime gas phase after first-frame creation ran out of gas (create_init_frame returned None): reverts the phase’s journal checkpoint — dropping all runtime state changes, including applied EIP-7702 delegations — and bumps the sender nonce of a create transaction, whose increment precedes message processing and survives the halt. (Calls bump it in validate_against_state_and_deduct_caller; creates at frame creation, which the runtime halt never reaches.)