Created
October 9, 2017 01:05
-
-
Save devonwesley/d98fd262d7ed30b0444f6f8843029b58 to your computer and use it in GitHub Desktop.
This is the flow of how we're going to deploy our contracts for our reentrancy attack demonstration.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Victim = artifacts.require('./Victim.sol') | |
const Attacker = artifacts.require('./Attacker.sol') | |
module.exports = function(deployer) { | |
deployer | |
.deploy(Victim) | |
.then(() => | |
deployer.deploy(Attacker, Victim.address) | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment