diff --git a/foundry/src/executors/BalancerV2Executor.sol b/foundry/src/executors/BalancerV2Executor.sol index dfd0be7..79777cb 100644 --- a/foundry/src/executors/BalancerV2Executor.sol +++ b/foundry/src/executors/BalancerV2Executor.sol @@ -34,7 +34,7 @@ contract BalancerV2Executor is IExecutor { if (needsApproval) { // slither-disable-next-line unused-return - tokenIn.approve(VAULT, givenAmount); + tokenIn.approve(VAULT, type(uint256).max); } IVault.SingleSwap memory singleSwap = IVault.SingleSwap({