Skip to content

Test Initcode

Documentation for tests/shanghai/eip3860_initcode/test_initcode.py@tests-snobal-devnet-6@v1.1.0.

Generate fixtures for these test cases for Osaka with:

fill -v tests/shanghai/eip3860_initcode/test_initcode.py --fork Osaka

Test Functions Overview

Name Type Cases (Osaka) Description
test_gas_usage state_test 30 Test transaction and contract creation using different gas limits.
test_create_opcode_initcode state_test 20 Test contract creation with valid and invalid initcode lengths.
test_contract_creating_tx state_test 2 Test creating a contract with initcode that is on/over the allowed limit.
test_create2_oversized_initcode_with_insufficient_balance state_test 2 Test CREATE2 with oversized initcode and insufficient balance.