Skip to content

Test SELFDESTRUCT REVERT

Documentation for tests/cancun/eip6780_selfdestruct/test_selfdestruct_revert.py@a86d4327.

Generate fixtures for these test cases for Cancun with:

Cancun only:

fill -v tests/cancun/eip6780_selfdestruct/test_selfdestruct_revert.py --fork=Cancun --evm-bin=/path/to/evm-tool-dev-version

For all forks up to and including Cancun:

fill -v tests/cancun/eip6780_selfdestruct/test_selfdestruct_revert.py --until=Cancun

tests for selfdestruct interaction with revert

Test Functions Overview

Name Type Cases Description
test_selfdestruct_created_in_same_tx_with_revert state_test 6 Given:(📖🐛?)
test_selfdestruct_not_created_in_same_tx_with_revert state_test 6 Same test as selfdestruct_created_in_same_tx_with_revert except selfdestructable contract