Skip to content

Commit 1a9a09b

Browse files
committed
chore(tests): Make 'to' value explicit in value_transfer test
1 parent 63356ed commit 1a9a09b

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

tests/osaka/eip7951_p256verify_precompiles/test_p256verify.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
from ethereum_test_checklists import EIPChecklist
99
from ethereum_test_tools import (
10-
Address,
1110
Alloc,
1211
Environment,
1312
StateTestFiller,
@@ -303,11 +302,10 @@ def test_precompile_as_tx_entry_point(
303302

304303

305304
@pytest.mark.parametrize(
306-
"input_data,call_contract_address,expected_output",
305+
"input_data,expected_output",
307306
[
308307
pytest.param(
309308
Spec.H0 + Spec.R0 + Spec.S0 + Spec.X0 + Spec.Y0,
310-
Spec.P256VERIFY,
311309
Spec.SUCCESS_RETURN_VALUE,
312310
id="valid_input_with_value_transfer",
313311
),
@@ -319,7 +317,6 @@ def test_precompile_will_return_success_with_tx_value(
319317
pre: Alloc,
320318
post: dict,
321319
tx: Transaction,
322-
call_contract_address: Address,
323320
input_data: bytes,
324321
expected_output: bytes,
325322
):
@@ -328,7 +325,7 @@ def test_precompile_will_return_success_with_tx_value(
328325
tx = Transaction(
329326
sender=sender,
330327
gas_limit=1000000,
331-
to=call_contract_address,
328+
to=Spec.P256VERIFY,
332329
value=1000,
333330
data=input_data,
334331
)

0 commit comments

Comments
 (0)