Let's re-create the bug that led to the infamous parity multisig bug.
Create a .env
file with a MAINNET_URL
set to an alchemy mainnet URL.
Take a look at the tests in test/test.js
. You'll want to complete the two TODOs:
- For the first TODO, replicate taking control of the logic contract (tx 0x05f71e...)
- For the second TODO, replicate destroying the logic contract (tx 0x47fcff...)
Once you have completed these two TODOs you should be able to run the tests (npx hardhat test
) and see all three test cases passing.
The Parity Multisig wallets depended on this Library which was destroyed, so there were many affected wallets. The largest of which were this one and this one
See here for Parity's official postmortem on the matter.