Skip to content

Commit 89c7acd

Browse files
committed
Revert "fix(tests): Create transaction sarting with 0xef is a valid tx, but should fail execution (#1480)"
This reverts commit 13fecee.
1 parent 3719e92 commit 89c7acd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/osaka/eip7692_eof_v1/eip7873_tx_create/test_creation_tx.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import pytest
44

5+
from ethereum_test_exceptions.exceptions import TransactionException
56
from ethereum_test_tools import (
67
Account,
78
Alloc,
@@ -58,7 +59,7 @@ def test_legacy_create_tx_legacy_initcode_eof_bytecode(
5859

5960

6061
@pytest.mark.with_all_contract_creating_tx_types(selector=lambda tx_type: tx_type != 6)
61-
@pytest.mark.xfail(reason="evmone incorrectly deploys the contract")
62+
@pytest.mark.exception_test
6263
def test_legacy_create_tx_eof_initcode(
6364
state_test: StateTestFiller,
6465
pre: Alloc,
@@ -74,6 +75,7 @@ def test_legacy_create_tx_eof_initcode(
7475
to=None,
7576
gas_limit=100_000,
7677
data=smallest_initcode_subcontainer,
78+
error=TransactionException.EOF_CREATION_TRANSACTION,
7779
)
7880

7981
destination_contract_address = tx.created_contract

0 commit comments

Comments
 (0)