Skip to content

Test Legacy EOF Creates

Documentation for tests/osaka/eip7692_eof_v1/eip7620_eof_create/test_legacy_eof_creates.py@14a7429a.

Generate fixtures for these test cases for Osaka with:

fill -v tests/osaka/eip7692_eof_v1/eip7620_eof_create/test_legacy_eof_creates.py --fork Osaka

Test interactions between CREATE, CREATE2, and EOFCREATE.

Test Functions Overview

Name Type Cases (Osaka) Description
test_cross_version_creates_fail_light state_test 8 Verifies that CREATE and CREATE2 cannot run EOF initcodes and fail early on attempt.
test_cross_version_creates_fail_hard state_test 10 Verifies that CREATE and CREATE2 fail hard on attempt to run initcode starting with EF but
test_legacy_initcode_eof_contract_fails state_test 12 Verifies that legacy initcode cannot create EOF.