Skip to content

Test Execution Gas

Documentation for tests/amsterdam/eip7981_increase_access_list_cost/test_execution_gas.py@02aafd78.

Generate fixtures for these test cases for Amsterdam with:

fill -v tests/amsterdam/eip7981_increase_access_list_cost/test_execution_gas.py --fork Amsterdam

Test execution gas after the EIP-7981 access list surcharge.

Test Functions Overview

Name Type Cases (Amsterdam) Description
test_access_list_surcharge_in_block_execution_gas state_test 6 Pin the surcharged floor and execution branches of block gas accounting.
test_access_list_surcharge_with_refund state_test 8 Apply the surcharged floor after refunds; discard refunds on revert.
test_execution_gas_after_access_list_surcharge state_test 6 Pin the execution OOG boundary after deducting the surcharge.