Skip to content

Test Dynamic CREATE2 SELFDESTRUCT Collision

Documentation for tests/cancun/eip6780_selfdestruct/test_dynamic_create2_selfdestruct_collision.py@5e6a38e0.

Generate fixtures for these test cases for Prague with:

fill -v tests/cancun/eip6780_selfdestruct/test_dynamic_create2_selfdestruct_collision.py --fork Prague

Suicide scenario requested test #381.

Test Functions Overview

Name Type Cases (Prague) Description
test_dynamic_create2_selfdestruct_collision state_test 6 Dynamic Create2->Suicide->Create2 collision scenario.
test_dynamic_create2_selfdestruct_collision_two_different_transactions blockchain_test 4 Dynamic Create2->Suicide->Create2 collision scenario.
test_dynamic_create2_selfdestruct_collision_multi_tx blockchain_test 3 Dynamic Create2->Suicide->Create2 collision scenario over multiple transactions.