Created
January 26, 2023 15:56
-
-
Save az0mb13/e7c44cd3c5f4439b179655f64ee305ef to your computer and use it in GitHub Desktop.
This file contains 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
it('Exploit', async function () { | |
const AttackerContract = await ethers.getContractFactory("AttackerContract", attacker); | |
this.exploit = await AttackerContract.deploy(await this.pool.address); | |
this.exploit.connect(attacker).exploit(ETHER_IN_POOL); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment