Skip to content

Commit

Permalink
fix: delegation exploit
Browse files Browse the repository at this point in the history
  • Loading branch information
leovct committed Nov 25, 2024
1 parent 2e24168 commit 293c3ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/EthernautCTF/DelegationExploit.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ contract DelegationExploit is Test {
console.log('Current owner: %s', owner);
assertEq(owner, deployer);

vm.startPrank(exploiter);
vm.startPrank(exploiter, true);
// Call the `fallback` method using Delegate's `pwn` selector.
// TODO: Understand why the exploit does not work?!
// https://github.com/foundry-rs/foundry/issues/824
Expand Down

0 comments on commit 293c3ed

Please sign in to comment.