test_gas_opcode_excludes_reservoir()¶
Documentation for tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_call.py::test_gas_opcode_excludes_reservoir@2119b382.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_call.py::test_gas_opcode_excludes_reservoir --fork Amsterdam
Test GAS opcode returns gas_left only, excluding the reservoir.
The spec states the GAS opcode reports only gas_left. When the reservoir is non-empty, the GAS return value should be less than the total remaining gas (gas_left + reservoir).
Source code in tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_call.py
624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 1 fork.