test_duplicate_signer_authorizations()¶
Documentation for tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_set_code.py::test_duplicate_signer_authorizations@87aba1a3.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_set_code.py::test_duplicate_signer_authorizations --fork Amsterdam
Test two authorizations from the same signer with increasing nonces.
The first authorization (nonce 0) sets a fresh delegation on the
existing authority, paying the first-write ACCOUNT_WRITE and the
top-frame AUTH_BASE. The second (nonce 1) overwrites it to a
different target; the authority is already written and already had a
delegation set in this transaction, so it pays nothing beyond the
intrinsic base. The authority ends delegated to the second target
with nonce 2.
Source code in tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_set_code.py
785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 1 fork.