test_block_gas_used_with_state_ops()¶
Documentation for tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_reservoir.py::test_block_gas_used_with_state_ops@87aba1a3.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_reservoir.py::test_block_gas_used_with_state_ops --fork Amsterdam
Test block gas_used includes state gas contribution.
A transaction performing SSTORE zero-to-nonzero contributes to both block_gas_used and block_state_gas_used. The block header gas_used is max(block_gas_used, block_state_gas_used).
Source code in tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_reservoir.py
557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 1 fork.