Test Initcode¶
Documentation for tests/shanghai/eip3860_initcode/[email protected]
.
Generate fixtures for these test cases for Osaka with:
fill -v tests/shanghai/eip3860_initcode/test_initcode.py --fork Osaka
Test EIP-3860: Limit and meter initcode.
Tests ported from: - ethereum/tests/pull/990 - ethereum/tests/pull/1012
Test Functions Overview¶
Name | Type | Cases (Osaka) | Description |
---|---|---|---|
test_contract_creating_tx |
state_test | 4 | Test creating a contract with initcode that is on/over the allowed limit. |
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. |