Skip to content

ChainShot/parity-selfdestruct

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published