Test Initcode¶
Documentation for tests/shanghai/eip3860_initcode/test_initcode.py@f6ab9733
.
Generate fixtures for these test cases for Shanghai with:
Shanghai only:
fill -v tests/shanghai/eip3860_initcode/test_initcode.py --fork=Shanghai --evm-bin=/path/to/evm-tool-dev-version
For all forks up to and including Shanghai:
fill -v tests/shanghai/eip3860_initcode/test_initcode.py --until=Shanghai
Test EIP-3860: Limit and meter initcode
Tests for EIP-3860: Limit and meter initcode.
Tests ported from:
Test Functions Overview¶
Name | Type | Cases | Description |
---|---|---|---|
test_contract_creating_tx |
state_test | 8 | Tests creating a contract using a transaction with an initcode that is |
test_gas_usage |
state_test | 64 | Test transaction and contract creation behavior for different gas |
test_create_opcode_initcode |
state_test | 40 | Test contract creation via the CREATE/CREATE2 opcodes that have an |