Skip to content

Test Execution Gas

Documentation for tests/prague/eip7623_increase_calldata_cost/test_execution_gas.py@49c766fb.

Generate fixtures for these test cases for Prague with:

fill -v tests/prague/eip7623_increase_calldata_cost/test_execution_gas.py --fork Prague
Test EIP-7623: Increase calldata cost

Test execution gas consumption after EIP-7623: Increase calldata cost.

Test Functions Overview

Name Type Cases (Prague) Description
test_gas_refunds_from_data_floor state_test 12 Test gas refunds deducted from the data floor.
test_full_gas_consumption state_test 12 Test executing a transaction that fully consumes its execution gas allocation.
test_gas_consumption_below_data_floor state_test 7 Test executing a transaction that almost consumes the floor data cost.