Test SELFDESTRUCT BALANCE Bug¶
Documentation for tests/paris/security/test_selfdestruct_balance_bug.py@206854b5
.
Generate fixtures for these test cases for Prague with:
fill -v tests/paris/security/test_selfdestruct_balance_bug.py --fork Prague
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 (Prague) | Description |
---|---|---|---|
test_tx_selfdestruct_balance_bug |
blockchain_test | 1 | Test that the vulnerability is not present by checking the balance of the |