fix: Tighten max feeBps in USV2 executor
Value was too lenient. We are assuming no forks will have higher fees than the original USV2.
This commit is contained in:
committed by
Diana Carvalho
parent
4f9785fdac
commit
af68016223
@@ -31,7 +31,7 @@ contract UniswapV2Executor is IExecutor, TokenTransfer {
|
||||
}
|
||||
factory = _factory;
|
||||
initCode = _initCode;
|
||||
if (_feeBps > 10000) {
|
||||
if (_feeBps > 30) {
|
||||
revert UniswapV2Executor__InvalidFee();
|
||||
}
|
||||
feeBps = _feeBps;
|
||||
|
||||
Reference in New Issue
Block a user