From af68016223cb74b4896ae627be798e6d211ef4e6 Mon Sep 17 00:00:00 2001 From: TAMARA LIPOWSKI Date: Tue, 22 Apr 2025 17:45:56 -0400 Subject: [PATCH] fix: Tighten max feeBps in USV2 executor Value was too lenient. We are assuming no forks will have higher fees than the original USV2. --- foundry/src/executors/UniswapV2Executor.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/foundry/src/executors/UniswapV2Executor.sol b/foundry/src/executors/UniswapV2Executor.sol index ce172a7..518b761 100644 --- a/foundry/src/executors/UniswapV2Executor.sol +++ b/foundry/src/executors/UniswapV2Executor.sol @@ -31,7 +31,7 @@ contract UniswapV2Executor is IExecutor, TokenTransfer { } factory = _factory; initCode = _initCode; - if (_feeBps > 10000) { + if (_feeBps > 30) { revert UniswapV2Executor__InvalidFee(); } feeBps = _feeBps;