Skip to content

Commit 96d2f2b

Browse files
이승진이승진
authored andcommitted
remove mock
1 parent 6a937ad commit 96d2f2b

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

foundry.lock

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"lib/balancer-v2-monorepo": {
3+
"rev": "88842344fb5f44d8ed6f8f944acd3be80627df87"
4+
},
25
"lib/forge-std": {
36
"rev": "c7be2a3481f9e51230880bb0949072c7e3a4da82"
47
},

test/pocs/Balancer/BalancerPoC_Withdraw.t.sol

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,15 @@ interface Ivault {
6969
);
7070
function manageUserBalance(UserBalanceOp[] memory ops) external payable;
7171
}
72+
7273
contract 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;

0 commit comments

Comments
 (0)