Test CREATE Collision¶
Documentation for tests/frontier/create/test_create_collision.py@02aafd78.
Generate fixtures for these test cases for Bogota with:
fill -v tests/frontier/create/test_create_collision.py --fork Bogota
Test collision in CREATE/CREATE2 account creation, where the existing account has non-empty code or nonce (EIP-684), and that an account with only a balance or only storage is deployable.
Test Functions Overview¶
| Name | Type | Cases (Bogota) | Description |
|---|---|---|---|
test_create_opcode_balance_only_target |
state_test | 2 | Test that a contract creation opcode succeeds when the target |
test_create_opcode_collision |
state_test | 24 | Test that a contract creation opcode exceptionally aborts when the |
test_create_opcode_storage_only_target |
state_test | 12 | Test that a contract creation opcode succeeds when the target |
test_create_tx_balance_only_target |
state_test | 3 | Test that a contract creation transaction succeeds when the target |
test_create_tx_collision |
state_test | 36 | Test that a contract creation transaction exceptionally aborts when |
test_create_tx_storage_only_target |
state_test | 18 | Test that a contract creation transaction succeeds when the target |
test_create_tx_storage_only_target_later_tx |
blockchain_test | 1 | Test that storage wiped by a contract creation stays wiped for the |