Skip to content

Commit 13fecee

Browse files
authored
fix(tests): Create transaction sarting with 0xef is a valid tx, but should fail execution (#1480)
* create transaction with `ef` is a valid tx, fails execution The EIP-3541 handling of EOF code was to execute it as uncontained code, executing the first 0xef byte and reverting. Signed-off-by: Danno Ferrin <[email protected]> * ruff format Signed-off-by: Danno Ferrin <[email protected]> --------- Signed-off-by: Danno Ferrin <[email protected]>
1 parent a4d313a commit 13fecee

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/osaka/eip7692_eof_v1/eip7873_tx_create/test_creation_tx.py

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

33
import pytest
44

5-
from ethereum_test_exceptions.exceptions import TransactionException
65
from ethereum_test_tools import (
76
Account,
87
Alloc,
@@ -60,7 +59,6 @@ def test_legacy_create_tx_legacy_initcode_eof_bytecode(
6059

6160
@pytest.mark.with_all_contract_creating_tx_types(selector=lambda tx_type: tx_type != 6)
6261
@pytest.mark.xfail(reason="evmone incorrectly deploys the contract")
63-
@pytest.mark.exception_test
6462
def test_legacy_create_tx_eof_initcode(
6563
state_test: StateTestFiller,
6664
pre: Alloc,
@@ -76,7 +74,6 @@ def test_legacy_create_tx_eof_initcode(
7674
to=None,
7775
gas_limit=100_000,
7876
data=smallest_initcode_subcontainer,
79-
error=TransactionException.EOF_CREATION_TRANSACTION,
8077
)
8178

8279
destination_contract_address = tx.created_contract

0 commit comments

Comments
 (0)