We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4603463 commit 740c3e2Copy full SHA for 740c3e2
tests/prague/eip7702_set_code_tx/test_set_code_txs.py
@@ -2913,11 +2913,16 @@ def test_contract_create(
2913
pre: Alloc,
2914
):
2915
"""Test sending type-4 tx as a create transaction."""
2916
+ authorization_tuple = AuthorizationTuple(
2917
+ address=Address(0x01),
2918
+ nonce=0,
2919
+ signer=pre.fund_eoa(),
2920
+ )
2921
tx = Transaction(
2922
gas_limit=100_000,
2923
to=None,
2924
value=0,
- authorization_list=[],
2925
+ authorization_list=[authorization_tuple],
2926
error=TransactionException.TYPE_4_TX_CONTRACT_CREATION,
2927
sender=pre.fund_eoa(),
2928
)
0 commit comments