test_cross_frame_refund_repays_spill_in_inner_frame()¶
Documentation for tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_cross_frame_refund.py::test_cross_frame_refund_repays_spill_in_inner_frame@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_in_inner_frame --fork Amsterdam
Test the repayment lands at an inner frame's merge.
The spill, the clearing call and both gas_left reads live in a
depth-one frame, so an implementation reconciling the pools only
when control returns to the top-level frame fails. Half-slot funding
also checks that the inner merge repays only the spilled gas from
the full-slot refund.
Source code in tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_cross_frame_refund.py
278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 | |
Parametrized Test Cases¶
This test generates 2 parametrized test cases across 1 fork.