test_cross_frame_refund_repays_spill_at_a_call()¶
Documentation for tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_cross_frame_refund.py::test_cross_frame_refund_repays_spill_at_a_call@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_cross_frame_refund_repays_spill_at_a_call --fork Amsterdam
Test a call merging a refund repays the spill.
A holder contract owns the cleared slot, so every dispatch reaches it the same way. The clearing window costs a full state charge less than the no-op window: the refund repays the spill at the merge.
Source code in tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_cross_frame_refund.py
1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 | |
Parametrized Test Cases¶
This test generates 3 parametrized test cases across 1 fork.