Test EOFCREATE¶
Documentation for tests/prague/eip7692_eof_v1/eip7620_eof_create/test_eofcreate.py@verkle@v0.0.4
.
Generate fixtures for these test cases for Pragueeip7692 with:
Pragueeip7692 only:
fill -v tests/prague/eip7692_eof_v1/eip7620_eof_create/test_eofcreate.py --fork=PragueEIP7692 --evm-bin=/path/to/evm-tool-dev-version
For all forks up to and including Pragueeip7692:
fill -v tests/prague/eip7692_eof_v1/eip7620_eof_create/test_eofcreate.py --until=PragueEIP7692
Test Functions Overview¶
Name | Type | Cases | Description |
---|---|---|---|
test_simple_eofcreate |
state_test | 1 | Verifies a simple EOFCREATE case |
test_eofcreate_then_call |
state_test | 1 | Verifies a simple EOFCREATE case, and then calls the deployed contract |
test_auxdata_variations |
state_test | 12 | Verifies that auxdata bytes are correctly handled in RETURNCONTRACT |
test_calldata |
state_test | 1 | Verifies CALLDATA passing through EOFCREATE |
test_eofcreate_in_initcode |
state_test | 1 | Verifies an EOFCREATE occuring within initcode creates that contract |
test_eofcreate_in_initcode_reverts |
state_test | 1 | Verifies an EOFCREATE occuring in an initcode is rolled back when the initcode reverts |
test_return_data_cleared |
state_test | 1 | Verifies the return data is not re-used from a extcall but is cleared upon eofcreate |
test_address_collision |
state_test | 1 | Verifies a simple EOFCREATE case |
test_eofcreate_revert_eof_returndata |
state_test | 1 | Verifies the return data is not being deployed, even if happens to be valid EOF |
test_eofcreate_invalid_index |
eof_test | 2 | Referring to non-existent container section index |