test_create2_child_spill_not_double_charged()¶
Documentation for tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_create.py::test_create2_child_spill_not_double_charged@2119b382.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_create.py::test_create2_child_spill_not_double_charged --fork Amsterdam
Test CREATE2 child state gas paid from gas_left is not recharged.
The factory executes below the Amsterdam tx gas cap, so the CREATE2 child
pays new-account and storage state gas by spilling from gas_left. The
factory must not charge the same state growth again at frame end.
Source code in tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_create.py
135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 1 fork.