feat: add tests for Balancer V2 executor

This commit is contained in:
royvardhan
2025-01-28 19:32:45 +05:30
parent 5dc5e23239
commit a4e405fb75
4 changed files with 89 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ contract BalancerV2Executor is IExecutor {
) = _decodeData(data);
if (needsApproval) {
tokenIn.approve(VAULT, type(uint256).max);
tokenIn.approve(VAULT, givenAmount);
}
IVault.SingleSwap memory singleSwap = IVault.SingleSwap({