test_block_gas_refund_eip7778_no_block_reduction()¶
Documentation for tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_block_2d_gas_accounting.py::test_block_gas_refund_eip7778_no_block_reduction@622620d8.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_block_2d_gas_accounting.py::test_block_gas_refund_eip7778_no_block_reduction --fork Amsterdam
Verify block gas accounting for SSTORE 0→x→0 refund paths.
Execution gas refund via refund_counter does NOT reduce block gas
(EIP-7778). State gas refund goes to the reservoir and DOES reduce
block_state_gas_used (net zero state growth).
Source code in tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_block_2d_gas_accounting.py
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 329 330 331 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 1 fork.