Skip to content

Test State Gas System Calls

Documentation for tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_system_calls.py@622620d8.

Generate fixtures for these test cases for Amsterdam with:

fill -v tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_system_calls.py --fork Amsterdam

Test the independent gas budgets of EIP-8037 protocol system calls.

Test Functions Overview

Name Type Cases (Amsterdam) Description
test_system_call_execution_boundary blockchain_test 12 Exhaust execution gas without borrowing the unspent reservoir.
test_system_call_execution_grant blockchain_test 6 Keep the execution grant independent of the reservoir and tx cap.
test_system_call_reservoir_boundary blockchain_test 12 Fund the reservoir-sized prefix, then require spill for one more set.