test_code_deposit_state_gas_scales_with_cpsb()¶
Documentation for tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_pricing.py::test_code_deposit_state_gas_scales_with_cpsb@622620d8.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_pricing.py::test_code_deposit_state_gas_scales_with_cpsb --fork Amsterdam
Test the code-deposit state gas holds across block gas limits.
Code deposit is the only charge billed per byte rather than per account or slot, so it is the most sensitive to the state-byte price. A creation transaction deposits a fixed body and the header must report the state dimension at every block gas limit.
Source code in tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_pricing.py
715 716 717 718 719 720 721 722 723 724 725 726 727 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 | |
Parametrized Test Cases¶
This test generates 10 parametrized test cases across 1 fork.