Test Max Initcode Size¶
Documentation for tests/amsterdam/eip7954_increase_max_contract_size/test_max_initcode_size.py@9c2813ee.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip7954_increase_max_contract_size/test_max_initcode_size.py --fork Amsterdam
Test EIP-7954: Increase Maximum Contract Size.
Tests for the increased maximum initcode size (64 KiB).
Test Functions Overview¶
| Name | Type | Cases (Amsterdam) | Description |
|---|---|---|---|
test_max_initcode_size |
state_test | 2 | Ensure the new max initcode size is enforced for transactions. |
test_max_initcode_size_gas_metering |
state_test | 2 | Verify initcode gas metering at the new max initcode size. |
test_max_initcode_size_via_create |
state_test | 4 | Ensure the new max initcode size is enforced via create opcodes. |