Skip to content

ChainSecurity/constantinople-reentrancy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demonstration of new Constantinople Reentrancy

Install

  • Install dependencies: npm i
  • Install ganache@beta: npm i -g ganache-cli@beta (at least ganache-cli@6.3.0-beta.0)

To test the attack

  • Run ganache: ganache-cli --hardfork=constantinople
  • Run tests: truffle test

To compare with the current state in byzantium

  • Run ganache: ganache-cli --hardfork=byzantium
  • Run (failing) tests: truffle test

Contact

In case of questions or comments, please contact contact@chainsecurity.com

About

Vulnerable code example including tests for Constantinople Reentrancy

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors