From c656e7e2b67e31a58a847e06de737435083f3101 Mon Sep 17 00:00:00 2001 From: Alan Wu Date: Thu, 3 Oct 2024 16:31:38 -0400 Subject: [PATCH] docs: update cosigner info comments --- src/reactors/V3DutchOrderReactor.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/reactors/V3DutchOrderReactor.sol b/src/reactors/V3DutchOrderReactor.sol index dd184237..41f63df6 100644 --- a/src/reactors/V3DutchOrderReactor.sol +++ b/src/reactors/V3DutchOrderReactor.sol @@ -14,7 +14,7 @@ import {Math} from "openzeppelin-contracts/utils/math/Math.sol"; import {CosignerLib} from "../lib/CosignerLib.sol"; /// @notice Reactor for V3 dutch orders -/// @dev V3 orders must be cosigned by the specified cosigner to override starting block and value +/// @dev V3 orders must be cosigned by the specified cosigner to set the starting block and override the value /// @dev resolution behavior: /// - If cosignature is invalid or not from specified cosigner, revert /// - If inputAmount is 0, then use baseInput @@ -127,7 +127,7 @@ contract V3DutchOrderReactor is BaseReactor { /// @notice validate the dutch order fields /// - deadline must have not passed - /// - cosigner is valid if specified + /// - cosigner must always be provided and sign the cosignerData /// @dev Throws if the order is invalid function _validateOrder(bytes32 orderHash, V3DutchOrder memory order) internal view { if (order.info.deadline < block.timestamp) {