test_subcall_failure_does_not_zero_top_level_state_gas()¶
Documentation for tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_reservoir.py::test_subcall_failure_does_not_zero_top_level_state_gas@622620d8.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_reservoir.py::test_subcall_failure_does_not_zero_top_level_state_gas --fork Amsterdam
Verify a subcall failure does not zero the top level execution state gas.
The top level tx succeeds end to end even though a subcall
reverts, so the top level failure refund does not apply. The
parent's own SSTORE contributes state gas that appears in
block_state_gas_used.
Source code in tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_reservoir.py
895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 1 fork.