fix: Increased RESERVE_LIMIT_FACTOR to prevent reverts

This commit is contained in:
domenicodev
2024-01-24 17:29:13 +01:00
parent 61bb75985c
commit 8ef2f75fae

View File

@@ -10,7 +10,7 @@ pragma solidity ^0.8.13;
import {IERC20, ISwapAdapter} from "src/interfaces/ISwapAdapter.sol";
/// @dev custom reserve limit factor to prevent revert errors in OrderSide.Buy
uint256 constant RESERVE_LIMIT_FACTOR = 5;
uint256 constant RESERVE_LIMIT_FACTOR = 10;
interface IAgToken is IERC20 {
/*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////