test_create_tx_reservoir()¶
Documentation for tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_reservoir.py::test_create_tx_reservoir@5c024cbb.
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_create_tx_reservoir --fork Amsterdam
Test contract creation with state gas from reservoir or gas_left.
Contract creation charges intrinsic state gas for the new account (new-account state gas). When gas_above_cap is True, extra gas beyond TX_MAX_GAS_LIMIT feeds the reservoir. When False, all state gas comes from gas_left (reservoir is zero).
Source code in tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_reservoir.py
671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 | |
Parametrized Test Cases¶
This test generates 2 parametrized test cases across 1 fork.