Skip to content

Latest commit

 

History

History
24 lines (13 loc) · 1.42 KB

File metadata and controls

24 lines (13 loc) · 1.42 KB

Parity Multisig Library Selfdestruct

Let's re-create the bug that led to the infamous parity multisig bug.

Setup

Create a .env file with a MAINNET_URL set to an alchemy mainnet URL.

Execution

Take a look at the tests in test/test.js. You'll want to complete the two TODOs:

  1. For the first TODO, replicate taking control of the logic contract (tx 0x05f71e...)
  2. 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.

Affected Wallets

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

Postmortem

See here for Parity's official postmortem on the matter.