Skip to content

Test Eip Mainnet

Documentation for tests/amsterdam/eip7954_increase_max_contract_size/test_eip_mainnet.py@b314d18e.

Generate fixtures for these test cases for Amsterdam with:

fill -v tests/amsterdam/eip7954_increase_max_contract_size/test_eip_mainnet.py --fork Amsterdam

Test Functions Overview

Name Type Cases (Amsterdam) Description
test_max_code_size_with_max_initcode_mainnet state_test 1 Verify max-size contract works on mainnet.
test_over_max_code_size_mainnet state_test 1 Verify deployment above the new limit is rejected on mainnet.
test_over_max_initcode_size_mainnet state_test 1 Verify a CREATE transaction over the new initcode limit is rejected.