From 7a83eddc92333638247a61acd1154eb65a510467 Mon Sep 17 00:00:00 2001 From: royvardhan Date: Tue, 28 Jan 2025 22:38:26 +0530 Subject: [PATCH] fix: slither --- foundry/slither.config.json | 2 +- foundry/src/executors/BalancerV2Executor.sol | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/foundry/slither.config.json b/foundry/slither.config.json index fd69b55..c1badc7 100644 --- a/foundry/slither.config.json +++ b/foundry/slither.config.json @@ -1,3 +1,3 @@ { - "filter_paths": "lib" + "filter_paths": "lib|node_modules" } \ No newline at end of file diff --git a/foundry/src/executors/BalancerV2Executor.sol b/foundry/src/executors/BalancerV2Executor.sol index 460c9e6..593f709 100644 --- a/foundry/src/executors/BalancerV2Executor.sol +++ b/foundry/src/executors/BalancerV2Executor.sol @@ -29,6 +29,7 @@ contract BalancerV2Executor is IExecutor { ) = _decodeData(data); if (needsApproval) { + // slither-disable-next-line unused-return tokenIn.approve(VAULT, givenAmount); }