test_child_clear_window_cost()¶
Documentation for tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_cross_frame_refund.py::test_child_clear_window_cost@622620d8.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_cross_frame_refund.py::test_child_clear_window_cost --fork Amsterdam
Test a successful clearing child repays a parent spill at the merge.
The same shape as test_child_clear_repays_own_spill_first, with
the call bracketed by two GAS reads. A successful child repays one
parent spill, so its window costs one state charge less than the
call and child execution. A failing child repays nothing. What the
sender pays is checked there.
Source code in tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_cross_frame_refund.py
886 887 888 889 890 891 892 893 894 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 940 941 942 943 944 945 946 947 948 949 950 951 952 953 | |
Parametrized Test Cases¶
This test generates 3 parametrized test cases across 1 fork.