File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
tests/prague/eip7623_increase_calldata_cost Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 44""" # noqa: E501
55
66from enum import Enum , Flag , auto
7- from typing import Dict
7+ from typing import Dict , List
88
99import pytest
1010
1111from ethereum_test_forks import Fork , Prague
1212from ethereum_test_tools import (
1313 Address ,
1414 Alloc ,
15+ AuthorizationTuple ,
1516 Bytecode ,
1617 StateTestFiller ,
1718 Transaction ,
@@ -61,9 +62,11 @@ def data_test_type() -> DataTestType:
6162
6263
6364@pytest .fixture
64- def authorization_refund ( refund_type : RefundType ) -> int :
65+ def authorization_list ( pre : Alloc , refund_type : RefundType ) -> List [ AuthorizationTuple ] | None :
6566 """Modify fixture from conftest to automatically read the refund_type information."""
66- return RefundType .AUTHORIZATION_EXISTING_AUTHORITY in refund_type
67+ if RefundType .AUTHORIZATION_EXISTING_AUTHORITY not in refund_type :
68+ return None
69+ return [AuthorizationTuple (signer = pre .fund_eoa (1 ), address = Address (1 ))]
6770
6871
6972@pytest .fixture
You can’t perform that action at this time.
0 commit comments