Skip to content

Commit b7c956b

Browse files
authored
fix(tests): EIP-7702 verification/merge issue (#1358)
1 parent f86a779 commit b7c956b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/prague/eip7702_set_code_tx/test_set_code_txs.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3513,7 +3513,7 @@ def test_set_code_from_account_with_non_delegating_code(
35133513
But at the same time it has auth tuple that will point this sender account
35143514
To be eoa, delegation, contract .. etc
35153515
"""
3516-
sender = pre.fund_eoa()
3516+
sender = pre.fund_eoa(nonce=1)
35173517
random_address = pre.fund_eoa(0)
35183518

35193519
set_code_to_address: Address
@@ -3560,9 +3560,8 @@ def test_set_code_from_account_with_non_delegating_code(
35603560
if set_code_type == AddressType.EMPTY_ACCOUNT
35613561
else Account(storage={})
35623562
),
3563-
random_address: Account.NONEXISTENT
3564-
if not self_sponsored
3565-
else Account(code=Bytes(Op.STOP)),
3563+
random_address: Account.NONEXISTENT,
3564+
sender: Account(nonce=1),
35663565
callee_address: Account(storage={0: 0}),
35673566
},
35683567
)

0 commit comments

Comments
 (0)