From e4995509ada893ba86615ac6ca5c3bcbc49c301e Mon Sep 17 00:00:00 2001 From: thedavidmeister Date: Mon, 29 Dec 2025 18:34:13 +0400 Subject: [PATCH] lint errors for v6 --- src/interface/unstable/IOrderBookV6.sol | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/interface/unstable/IOrderBookV6.sol b/src/interface/unstable/IOrderBookV6.sol index f8e260c..8970846 100644 --- a/src/interface/unstable/IOrderBookV6.sol +++ b/src/interface/unstable/IOrderBookV6.sol @@ -17,10 +17,6 @@ import { /// Import unmodified structures from older versions of `IOrderBook`. import { ClearStateChangeV2, - //forge-lint: disable-next-line(unused-import) - NoOrders, - //forge-lint: disable-next-line(unused-import) - ZeroMaximumInput, ClearConfigV2, TaskV2, //forge-lint: disable-next-line(unused-import) @@ -220,6 +216,12 @@ interface IOrderBookV6 is IERC3156FlashLender, IInterpreterCallerV4 { /// MUST be thrown by `addOrder` if the order has no outputs. error OrderNoOutputs(); + /// MUST be thrown by `takeOrders` if the maximum input/output is zero. + error ZeroMaximumInput(); + + /// MUST be thrown when take orders is called with no orders. + error NoOrders(); + /// Some tokens have been deposited to a vault. /// @param sender `msg.sender` depositing tokens. Delegated deposits are NOT /// supported.