Skip to content

Commit dcd5d70

Browse files
gumb0sonhv0212
authored andcommitted
fix(test): remove test violating EIP-7523 (ethereum#1257)
* fix(test): remove test violating EIP-7523 * Simplify the test by removing parameterization
1 parent 3bd7eb6 commit dcd5d70

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

tests/prague/eip7702_set_code_tx/test_set_code_txs.py

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -205,27 +205,14 @@ def test_set_code_to_sstore(
205205
)
206206

207207

208-
@pytest.mark.parametrize(
209-
"auth_signer_nonce",
210-
[
211-
pytest.param(
212-
0,
213-
id="zero_nonce",
214-
marks=pytest.mark.execute(pytest.mark.skip("unrealistic scenario")),
215-
),
216-
pytest.param(None, id="non_zero_nonce"),
217-
],
218-
)
219-
def test_set_code_to_non_empty_storage(
208+
def test_set_code_to_non_empty_storage_non_zero_nonce(
220209
state_test: StateTestFiller,
221210
pre: Alloc,
222-
auth_signer_nonce: int,
223211
):
224212
"""Test the setting the code to an account that has non-empty storage."""
225213
auth_signer = pre.fund_eoa(
226214
amount=0,
227215
storage=Storage({0: 1}), # type: ignore
228-
nonce=auth_signer_nonce,
229216
)
230217
sender = pre.fund_eoa()
231218

0 commit comments

Comments
 (0)