Skip to content

Fix failing EOF test test_legacy_create_tx_eof_initcode #1478

Open
@marioevz

Description

@marioevz

Test tests/osaka/eip7692_eof_v1/eip7873_tx_create/test_creation_tx.py::test_legacy_create_tx_eof_initcode, introduced in #1451, is currently failing when filled with evmone.

The contract ends up being created but the expectation is that the transaction starts to execute the EOF initcode as initcode:

Right. I think What should happen is that it's executed as v0 code, the first opcoe is 0xef (the designated invalid instruction), and it aborts. IIRC 3541 never made the transacion itself invalid it depended on the invalid opcode to work the magic
@shemnon

Currently the test has been marked with xfail but this should be fixed in evmone.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions