Skip to content

Test Collision SELFDESTRUCT

Documentation for tests/paris/eip7610_create_collision/test_collision_selfdestruct.py@8db70f93.

Generate fixtures for these test cases for Amsterdam with:

fill -v tests/paris/eip7610_create_collision/test_collision_selfdestruct.py --fork Amsterdam

Test CREATE2 collision interaction with SELFDESTRUCT (EIP-6780).

Verify that a failed CREATE2 (due to collision) does not cause a subsequent SELFDESTRUCT to destroy the pre-existing contract.

Test Functions Overview

Name Type Cases (Amsterdam) Description
test_selfdestruct_after_create2_collision state_test 1 Test that a failed CREATE2 collision does not count as creation.