Skip to content

Test Gas

Documentation for tests/osaka/eip7692_eof_v1/eip7069_extcall/test_gas.py@b19b4ca1.

Generate fixtures for these test cases for Osaka with:

fill -v tests/osaka/eip7692_eof_v1/eip7069_extcall/test_gas.py --fork Osaka
Tests EIP-7069: Revamped CALL instructions

Tests gas consumption.

Test Functions Overview

Name Type Cases (Osaka) Description
test_ext_calls_gas state_test 32 Tests variations of EXT*CALL gas, both warm and cold, without and with mem expansions.
test_transfer_gas_is_cleared state_test 6 Test that EXT*CALL call doesn't charge for value transfer, even if the outer call
test_late_account_create state_test 3 Test EXTCALL to a non-existent account after another EXT*CALL has called it and not