feat: allow to pass msg.sender to USV3 callback
- So that we can possibly do a transferFrom - This should still be safe since the user can't control what is passed here
This commit is contained in:
committed by
Diana Carvalho
parent
389009901e
commit
8969186654
@@ -123,7 +123,8 @@ contract UniswapV3ExecutorTest is Test, Constants {
|
||||
dataOffset,
|
||||
dataLength,
|
||||
protocolData,
|
||||
uint8(ExecutorTransferMethods.TransferMethod.TRANSFER)
|
||||
uint8(ExecutorTransferMethods.TransferMethod.TRANSFER),
|
||||
address(uniswapV3Exposed) // transferFrom sender (irrelevant in this case)
|
||||
);
|
||||
uniswapV3Exposed.handleCallback(callbackData);
|
||||
vm.stopPrank();
|
||||
|
||||
Reference in New Issue
Block a user