Skip to content

Test EOF Creation Tx

Documentation for tests/osaka/eip7692_eof_v1/eip7698_eof_creation_tx/test_eof_creation_tx.py@e04edbe1.

Generate fixtures for these test cases for Osaka with:

fill -v tests/osaka/eip7692_eof_v1/eip7698_eof_creation_tx/test_eof_creation_tx.py --fork Osaka

Test execution of EOF creation txs.

Test Functions Overview

Name Type Cases (Osaka) Description
test_eof_creation_tx_context state_test 6 Test EOF creation txs' initcode context instructions.
test_lecacy_cannot_create_eof state_test 1 Test that a legacy contract creation initcode cannot deploy an EOF contract.
test_invalid_container_deployment state_test 9 Verify nonce is not incremented when an invalid container deployment is attempted.
test_short_data_subcontainer state_test 1 Deploy a subcontainer where the data is "short" and filled by deployment code.