test_repaid_credit_enters_next_call_forwarding_base()¶
Documentation for tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_cross_frame_refund.py::test_repaid_credit_enters_next_call_forwarding_base@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_repaid_credit_enters_next_call_forwarding_base --fork Amsterdam
Test repaid gas participates in the next call's 63/64 base.
Without the repayment, the parent has one gas less than the smallest base whose 63/64 allowance can run the probe. The clearing child's merge repays a full slot charge before the probe call, so the allowance grows, the probe completes, and its marker changes.
Source code in tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_cross_frame_refund.py
728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 1 fork.