Test SELFDESTRUCT BALANCE Bug¶
Documentation for tests/paris/security/test_selfdestruct_balance_bug.py@verkle@v0.0.5
.
Generate fixtures for these test cases for Constantinople with:
Constantinople only:
fill -v tests/paris/security/test_selfdestruct_balance_bug.py --fork=Constantinople --evm-bin=/path/to/evm-tool-dev-version
For all forks up to and including Constantinople:
fill -v tests/paris/security/test_selfdestruct_balance_bug.py --until=Constantinople
Tests the Consensus Flaw During Block Processing related to SELFDESTRUCT
Tests the consensus-vulnerability reported in go-ethereum/security/advisories/GHSA-xw37-57qp-9mm4.
To reproduce the issue with this test case:
- Fill the test with the most recent geth evm version.
- Run the fixture output within a vulnerable geth version: v1.9.20 > geth >= v1.9.4.
Test Functions Overview¶
Name | Type | Cases | Description |
---|---|---|---|
test_tx_selfdestruct_balance_bug |
blockchain_test | 1 | Test that the vulnerability is not present by checking the balance of the |