Skip to content

Test CREATE Collision

Documentation for tests/frontier/create/test_create_collision.py@49633827.

Generate fixtures for these test cases for Amsterdam with:

fill -v tests/frontier/create/test_create_collision.py --fork Amsterdam

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 is deployable.

Test Functions Overview

Name Type Cases (Amsterdam) 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_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