diff --git a/foundry/foundry.toml b/foundry/foundry.toml index 4a2b1a6..a3c8d7b 100644 --- a/foundry/foundry.toml +++ b/foundry/foundry.toml @@ -9,8 +9,7 @@ optimizer_runs = 1000 via_ir = true [rpc_endpoints] -# Public RPC endpoint -mainnet = "https://eth.llamarpc.com" +mainnet = "${RPC_URL}" [fmt] diff --git a/foundry/lib/openzeppelin-contracts b/foundry/lib/openzeppelin-contracts index 840c974..acd4ff7 160000 --- a/foundry/lib/openzeppelin-contracts +++ b/foundry/lib/openzeppelin-contracts @@ -1 +1 @@ -Subproject commit 840c974028316f3c8172c1b8e5ed67ad95e255ca +Subproject commit acd4ff74de833399287ed6b31b4debf6b2b35527 diff --git a/foundry/lib/v2-core b/foundry/lib/v2-core index ee547b1..4dd5906 160000 --- a/foundry/lib/v2-core +++ b/foundry/lib/v2-core @@ -1 +1 @@ -Subproject commit ee547b17853e71ed4e0101ccfd52e70d5acded58 +Subproject commit 4dd59067c76dea4a0e8e4bfdda41877a6b16dedc diff --git a/foundry/slither.config.json b/foundry/slither.config.json index b4dfe82..b45e339 100644 --- a/foundry/slither.config.json +++ b/foundry/slither.config.json @@ -1,3 +1,3 @@ { - "filter_paths": ["lib", "node_modules"] + "filter_paths": "lib,node_modules" } diff --git a/foundry/src/executors/BalancerV2Executor.sol b/foundry/src/executors/BalancerV2Executor.sol index 593f709..3621295 100644 --- a/foundry/src/executors/BalancerV2Executor.sol +++ b/foundry/src/executors/BalancerV2Executor.sol @@ -18,6 +18,7 @@ contract BalancerV2Executor is IExecutor { function swap(uint256 givenAmount, bytes calldata data) external + payable returns (uint256 calculatedAmount) { (