Skip to content

test_account_warming()

Documentation for tests/prague/eip7702_set_code_tx/test_gas.py::test_account_warming@verkle@v0.0.6.

Generate fixtures for these test cases for Prague with:

Prague only:

fill -v tests/prague/eip7702_set_code_tx/test_gas.py::test_account_warming --fork=Prague --evm-bin=/path/to/evm-tool-dev-version

For all forks up to and including Prague:

fill -v tests/prague/eip7702_set_code_tx/test_gas.py::test_account_warming --until=Prague

Test warming of the authority and authorized accounts for set-code transactions.

Source code in tests/prague/eip7702_set_code_tx/test_gas.py
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
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
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
@pytest.mark.parametrize("check_delegated_account_first", [True, False])
@pytest.mark.parametrize(**gas_test_parameter_args(include_many=False, include_data=False))
def test_account_warming(
    state_test: StateTestFiller,
    pre: Alloc,
    authorization_list_with_properties: List[AuthorizationWithProperties],
    authorization_list: List[AuthorizationTuple],
    access_list_case: AccessListType,
    access_list: List[AccessList],
    data: bytes,
    sender: EOA,
    check_delegated_account_first: bool,
):
    """
    Test warming of the authority and authorized accounts for set-code transactions.
    """
    # Overhead cost is the single push operation required for the address to check.
    OVERHEAD_COST = 3

    COLD_ACCOUNT_COST = 2600
    WARM_ACCOUNT_COST = 100

    # Dictionary to keep track of the addresses to check for warming, and the expected cost of
    # accessing such account.
    addresses_to_check: Dict[Address, int] = {}

    for authorization_with_properties in authorization_list_with_properties:
        authority = authorization_with_properties.tuple.signer
        assert authority is not None, "authority address is not set"
        delegated_account = authorization_with_properties.tuple.address

        if check_delegated_account_first:
            if delegated_account not in addresses_to_check:
                addresses_to_check[delegated_account] = (
                    WARM_ACCOUNT_COST
                    if access_list_case.contains_set_code_address()
                    else COLD_ACCOUNT_COST
                )

            if authority not in addresses_to_check:
                if not authorization_with_properties.skip:
                    if (
                        authorization_with_properties.invalidity_type is None
                        or (
                            authorization_with_properties.invalidity_type
                            != AuthorizationInvalidityType.INVALID_CHAIN_ID
                        )
                        or access_list_case.contains_authority()
                    ):
                        access_cost = WARM_ACCOUNT_COST
                    else:
                        access_cost = COLD_ACCOUNT_COST
                    if authorization_with_properties.invalidity_type is None:
                        access_cost += WARM_ACCOUNT_COST
                else:
                    access_cost = (
                        COLD_ACCOUNT_COST
                        if Address(sender) != authorization_with_properties.tuple.signer
                        else WARM_ACCOUNT_COST
                    )
                    if authorization_with_properties.invalidity_type is None:
                        access_cost += WARM_ACCOUNT_COST

                addresses_to_check[authority] = access_cost

        else:
            if authority not in addresses_to_check:
                access_cost = (
                    COLD_ACCOUNT_COST
                    if Address(sender) != authorization_with_properties.tuple.signer
                    else WARM_ACCOUNT_COST
                )
                if not authorization_with_properties.skip and (
                    authorization_with_properties.invalidity_type is None
                    or (
                        authorization_with_properties.invalidity_type
                        != AuthorizationInvalidityType.INVALID_CHAIN_ID
                    )
                    or access_list_case.contains_authority()
                ):
                    access_cost = WARM_ACCOUNT_COST

                if (
                    # We can only charge the delegated account access cost if the authorization
                    # went through
                    authorization_with_properties.invalidity_type
                    is None
                ):
                    if (
                        delegated_account in addresses_to_check
                        or access_list_case.contains_set_code_address()
                    ):
                        access_cost += WARM_ACCOUNT_COST
                    else:
                        access_cost += COLD_ACCOUNT_COST

                addresses_to_check[authority] = access_cost

            if delegated_account not in addresses_to_check:
                if (
                    authorization_with_properties.invalidity_type is None
                    or access_list_case.contains_set_code_address()
                ):
                    access_cost = WARM_ACCOUNT_COST
                else:
                    access_cost = COLD_ACCOUNT_COST
                addresses_to_check[delegated_account] = access_cost

    callee_storage = Storage()
    callee_code: Bytecode = sum(  # type: ignore
        (
            CodeGasMeasure(
                code=Op.EXTCODESIZE(check_address),
                overhead_cost=OVERHEAD_COST,
                extra_stack_items=1,
                sstore_key=callee_storage.store_next(access_cost),
                stop=False,
            )
            for check_address, access_cost in addresses_to_check.items()
        )
    )
    callee_code += Op.STOP
    callee_address = pre.deploy_contract(callee_code, storage=callee_storage.canary())

    tx = Transaction(
        gas_limit=1_000_000,
        to=callee_address,
        authorization_list=authorization_list if authorization_list else None,
        access_list=access_list,
        sender=sender,
        data=data,
    )
    post = {
        callee_address: Account(
            storage=callee_storage,
        ),
    }

    state_test(
        env=Environment(),
        pre=pre,
        tx=tx,
        post=post,
    )

Parametrized Test Cases

The interactive table below is also available as a standalone page.

Skipped Parameters

For more concise readability, the table below does not list the following parameter values: fork, blockchain_test, state_test, state_test_only, eof_test, eof_state_test.

Test ID authorize_to_address signer_type authorization_invalidity_type authorizations_count chain_id_type access_list_case self_sponsored re_authorize authority_type data check_delegated_account_first
single_valid_authorization_single_signer-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT True
single_valid_authorization_single_signer-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT False
single_valid_chain_specific_authorization_single_signer-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.CHAIN_SPECIFIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT True
single_valid_chain_specific_authorization_single_signer-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.CHAIN_SPECIFIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT False
multiple_valid_authorizations_single_signer-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 2 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT True
multiple_valid_authorizations_single_signer-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 2 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT False
single_invalid_nonce_authorization_single_signer-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER AuthorizationInvalidityType.INVALID_NONCE 1 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT True
single_invalid_nonce_authorization_single_signer-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER AuthorizationInvalidityType.INVALID_NONCE 1 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT False
single_invalid_authorization_invalid_chain_id_single_signer-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER AuthorizationInvalidityType.INVALID_CHAIN_ID 1 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT True
single_invalid_authorization_invalid_chain_id_single_signer-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER AuthorizationInvalidityType.INVALID_CHAIN_ID 1 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT False
multiple_invalid_nonce_authorizations_single_signer-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER AuthorizationInvalidityType.INVALID_NONCE 2 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT True
multiple_invalid_nonce_authorizations_single_signer-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER AuthorizationInvalidityType.INVALID_NONCE 2 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT False
multiple_invalid_nonce_authorizations_multiple_signers-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.MULTIPLE_SIGNERS AuthorizationInvalidityType.INVALID_NONCE 2 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT True
multiple_invalid_nonce_authorizations_multiple_signers-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.MULTIPLE_SIGNERS AuthorizationInvalidityType.INVALID_NONCE 2 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT False
multiple_invalid_chain_id_authorizations_single_signer-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER AuthorizationInvalidityType.INVALID_CHAIN_ID 2 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT True
multiple_invalid_chain_id_authorizations_single_signer-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER AuthorizationInvalidityType.INVALID_CHAIN_ID 2 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT False
multiple_valid_authorizations_multiple_signers-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.MULTIPLE_SIGNERS None 2 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT True
multiple_valid_authorizations_multiple_signers-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.MULTIPLE_SIGNERS None 2 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT False
first_valid_then_single_repeated_nonce_authorization-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER AuthorizationInvalidityType.REPEATED_NONCE 2 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT True
first_valid_then_single_repeated_nonce_authorization-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER AuthorizationInvalidityType.REPEATED_NONCE 2 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT False
first_valid_then_single_repeated_nonce_authorizations_multiple_signers-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.MULTIPLE_SIGNERS AuthorizationInvalidityType.REPEATED_NONCE 4 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT True
first_valid_then_single_repeated_nonce_authorizations_multiple_signers-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.MULTIPLE_SIGNERS AuthorizationInvalidityType.REPEATED_NONCE 4 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT False
single_valid_authorization_to_eoa-check_delegated_account_first_True AddressType.EOA SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT True
single_valid_authorization_to_eoa-check_delegated_account_first_False AddressType.EOA SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT False
single_valid_authorization_to_contract-check_delegated_account_first_True AddressType.CONTRACT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT True
single_valid_authorization_to_contract-check_delegated_account_first_False AddressType.CONTRACT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT False
single_valid_authorization_with_authority_in_access_list-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.CONTAINS_AUTHORITY False False AddressType.EMPTY_ACCOUNT True
single_valid_authorization_with_authority_in_access_list-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.CONTAINS_AUTHORITY False False AddressType.EMPTY_ACCOUNT False
single_valid_authorization_with_set_code_address_in_access_list-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.CONTAINS_SET_CODE_ADDRESS False False AddressType.EMPTY_ACCOUNT True
single_valid_authorization_with_set_code_address_in_access_list-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.CONTAINS_SET_CODE_ADDRESS False False AddressType.EMPTY_ACCOUNT False
single_valid_authorization_with_authority_and_set_code_address_in_access_list-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.CONTAINS_AUTHORITY_AND_SET_CODE_ADDRESS False False AddressType.EMPTY_ACCOUNT True
single_valid_authorization_with_authority_and_set_code_address_in_access_list-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.CONTAINS_AUTHORITY_AND_SET_CODE_ADDRESS False False AddressType.EMPTY_ACCOUNT False
single_valid_authorization_eoa_authority-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EOA True
single_valid_authorization_eoa_authority-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EOA False
single_valid_re_authorization_eoa_authority-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY False True AddressType.EOA_WITH_SET_CODE True
single_valid_re_authorization_eoa_authority-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY False True AddressType.EOA_WITH_SET_CODE False
multiple_valid_authorizations_eoa_authority-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 2 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EOA True
multiple_valid_authorizations_eoa_authority-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 2 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EOA False
single_valid_authorization_eoa_self_sponsored_authority-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY True False AddressType.EOA True
single_valid_authorization_eoa_self_sponsored_authority-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY True False AddressType.EOA False
multiple_valid_authorizations_eoa_self_sponsored_authority-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 2 ChainIDType.GENERIC AccessListType.EMPTY True False AddressType.EOA True
multiple_valid_authorizations_eoa_self_sponsored_authority-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 2 ChainIDType.GENERIC AccessListType.EMPTY True False AddressType.EOA False
single_valid_authorization_invalid_contract_authority-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.CONTRACT True
single_valid_authorization_invalid_contract_authority-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.CONTRACT False
multiple_authorizations_empty_account_then_contract_authority-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.MULTIPLE_SIGNERS None 2 ChainIDType.GENERIC AccessListType.EMPTY False False [, ] True
multiple_authorizations_empty_account_then_contract_authority-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.MULTIPLE_SIGNERS None 2 ChainIDType.GENERIC AccessListType.EMPTY False False [, ] False
multiple_authorizations_eoa_then_contract_authority-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.MULTIPLE_SIGNERS None 2 ChainIDType.GENERIC AccessListType.EMPTY False False [, ] True
multiple_authorizations_eoa_then_contract_authority-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.MULTIPLE_SIGNERS None 2 ChainIDType.GENERIC AccessListType.EMPTY False False [, ] False
multiple_authorizations_eoa_self_sponsored_then_contract_authority-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.MULTIPLE_SIGNERS None 2 ChainIDType.GENERIC AccessListType.EMPTY True False [, ] True
multiple_authorizations_eoa_self_sponsored_then_contract_authority-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.MULTIPLE_SIGNERS None 2 ChainIDType.GENERIC AccessListType.EMPTY True False [, ] False
pre_authorized_eoa_authority_no_re_authorization-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EOA_WITH_SET_CODE True
pre_authorized_eoa_authority_no_re_authorization-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EOA_WITH_SET_CODE False
pre_authorized_eoa_authority_no_re_authorization_self_sponsored-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY True False AddressType.EOA_WITH_SET_CODE True
pre_authorized_eoa_authority_no_re_authorization_self_sponsored-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY True False AddressType.EOA_WITH_SET_CODE False
single_valid_authorization_single_signer-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT True
single_valid_authorization_single_signer-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT False
single_valid_chain_specific_authorization_single_signer-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.CHAIN_SPECIFIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT True
single_valid_chain_specific_authorization_single_signer-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.CHAIN_SPECIFIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT False
multiple_valid_authorizations_single_signer-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 2 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT True
multiple_valid_authorizations_single_signer-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 2 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT False
single_invalid_nonce_authorization_single_signer-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER AuthorizationInvalidityType.INVALID_NONCE 1 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT True
single_invalid_nonce_authorization_single_signer-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER AuthorizationInvalidityType.INVALID_NONCE 1 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT False
single_invalid_authorization_invalid_chain_id_single_signer-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER AuthorizationInvalidityType.INVALID_CHAIN_ID 1 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT True
single_invalid_authorization_invalid_chain_id_single_signer-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER AuthorizationInvalidityType.INVALID_CHAIN_ID 1 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT False
multiple_invalid_nonce_authorizations_single_signer-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER AuthorizationInvalidityType.INVALID_NONCE 2 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT True
multiple_invalid_nonce_authorizations_single_signer-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER AuthorizationInvalidityType.INVALID_NONCE 2 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT False
multiple_invalid_nonce_authorizations_multiple_signers-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.MULTIPLE_SIGNERS AuthorizationInvalidityType.INVALID_NONCE 2 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT True
multiple_invalid_nonce_authorizations_multiple_signers-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.MULTIPLE_SIGNERS AuthorizationInvalidityType.INVALID_NONCE 2 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT False
multiple_invalid_chain_id_authorizations_single_signer-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER AuthorizationInvalidityType.INVALID_CHAIN_ID 2 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT True
multiple_invalid_chain_id_authorizations_single_signer-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER AuthorizationInvalidityType.INVALID_CHAIN_ID 2 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT False
multiple_valid_authorizations_multiple_signers-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.MULTIPLE_SIGNERS None 2 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT True
multiple_valid_authorizations_multiple_signers-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.MULTIPLE_SIGNERS None 2 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT False
first_valid_then_single_repeated_nonce_authorization-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER AuthorizationInvalidityType.REPEATED_NONCE 2 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT True
first_valid_then_single_repeated_nonce_authorization-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER AuthorizationInvalidityType.REPEATED_NONCE 2 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT False
first_valid_then_single_repeated_nonce_authorizations_multiple_signers-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.MULTIPLE_SIGNERS AuthorizationInvalidityType.REPEATED_NONCE 4 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT True
first_valid_then_single_repeated_nonce_authorizations_multiple_signers-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.MULTIPLE_SIGNERS AuthorizationInvalidityType.REPEATED_NONCE 4 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT False
single_valid_authorization_to_eoa-check_delegated_account_first_True AddressType.EOA SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT True
single_valid_authorization_to_eoa-check_delegated_account_first_False AddressType.EOA SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT False
single_valid_authorization_to_contract-check_delegated_account_first_True AddressType.CONTRACT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT True
single_valid_authorization_to_contract-check_delegated_account_first_False AddressType.CONTRACT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EMPTY_ACCOUNT False
single_valid_authorization_with_authority_in_access_list-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.CONTAINS_AUTHORITY False False AddressType.EMPTY_ACCOUNT True
single_valid_authorization_with_authority_in_access_list-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.CONTAINS_AUTHORITY False False AddressType.EMPTY_ACCOUNT False
single_valid_authorization_with_set_code_address_in_access_list-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.CONTAINS_SET_CODE_ADDRESS False False AddressType.EMPTY_ACCOUNT True
single_valid_authorization_with_set_code_address_in_access_list-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.CONTAINS_SET_CODE_ADDRESS False False AddressType.EMPTY_ACCOUNT False
single_valid_authorization_with_authority_and_set_code_address_in_access_list-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.CONTAINS_AUTHORITY_AND_SET_CODE_ADDRESS False False AddressType.EMPTY_ACCOUNT True
single_valid_authorization_with_authority_and_set_code_address_in_access_list-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.CONTAINS_AUTHORITY_AND_SET_CODE_ADDRESS False False AddressType.EMPTY_ACCOUNT False
single_valid_authorization_eoa_authority-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EOA True
single_valid_authorization_eoa_authority-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EOA False
single_valid_re_authorization_eoa_authority-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY False True AddressType.EOA_WITH_SET_CODE True
single_valid_re_authorization_eoa_authority-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY False True AddressType.EOA_WITH_SET_CODE False
multiple_valid_authorizations_eoa_authority-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 2 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EOA True
multiple_valid_authorizations_eoa_authority-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 2 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EOA False
single_valid_authorization_eoa_self_sponsored_authority-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY True False AddressType.EOA True
single_valid_authorization_eoa_self_sponsored_authority-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY True False AddressType.EOA False
multiple_valid_authorizations_eoa_self_sponsored_authority-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 2 ChainIDType.GENERIC AccessListType.EMPTY True False AddressType.EOA True
multiple_valid_authorizations_eoa_self_sponsored_authority-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 2 ChainIDType.GENERIC AccessListType.EMPTY True False AddressType.EOA False
single_valid_authorization_invalid_contract_authority-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.CONTRACT True
single_valid_authorization_invalid_contract_authority-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.CONTRACT False
multiple_authorizations_empty_account_then_contract_authority-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.MULTIPLE_SIGNERS None 2 ChainIDType.GENERIC AccessListType.EMPTY False False [, ] True
multiple_authorizations_empty_account_then_contract_authority-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.MULTIPLE_SIGNERS None 2 ChainIDType.GENERIC AccessListType.EMPTY False False [, ] False
multiple_authorizations_eoa_then_contract_authority-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.MULTIPLE_SIGNERS None 2 ChainIDType.GENERIC AccessListType.EMPTY False False [, ] True
multiple_authorizations_eoa_then_contract_authority-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.MULTIPLE_SIGNERS None 2 ChainIDType.GENERIC AccessListType.EMPTY False False [, ] False
multiple_authorizations_eoa_self_sponsored_then_contract_authority-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.MULTIPLE_SIGNERS None 2 ChainIDType.GENERIC AccessListType.EMPTY True False [, ] True
multiple_authorizations_eoa_self_sponsored_then_contract_authority-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.MULTIPLE_SIGNERS None 2 ChainIDType.GENERIC AccessListType.EMPTY True False [, ] False
pre_authorized_eoa_authority_no_re_authorization-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EOA_WITH_SET_CODE True
pre_authorized_eoa_authority_no_re_authorization-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY False False AddressType.EOA_WITH_SET_CODE False
pre_authorized_eoa_authority_no_re_authorization_self_sponsored-check_delegated_account_first_True AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY True False AddressType.EOA_WITH_SET_CODE True
pre_authorized_eoa_authority_no_re_authorization_self_sponsored-check_delegated_account_first_False AddressType.EMPTY_ACCOUNT SignerType.SINGLE_SIGNER None 1 ChainIDType.GENERIC AccessListType.EMPTY True False AddressType.EOA_WITH_SET_CODE False