Using unchecked block for operations that can't overflow/underflow.
This line could be unchecked since if channelIndexPlusOne == 0, thenchannelPreviouslyOpen == false (L138) and if statement on L149 wouldn't be satisfied:
This lines could be unchecked due to check on L91 _validateOrderAndUpdateStatus -> _verifyTime, so if orderParameters.endTime <= block.timestamp or orderParameters.startTime > block.timestamp - transaction will be reverted before:
G - Unchecked arithmetic
Using
unchecked
block for operations that can't overflow/underflow.This line could be unchecked since if
channelIndexPlusOne == 0
, thenchannelPreviouslyOpen == false
(L138) and if statement on L149 wouldn't be satisfied:https://github.com/code-423n4/2022-05-opensea-seaport/blob/main/contracts/conduit/ConduitController.sol#L152
This lines could be unchecked due to check on L91
_validateOrderAndUpdateStatus
->_verifyTime
, so iforderParameters.endTime <= block.timestamp
ororderParameters.startTime > block.timestamp
- transaction will be reverted before:https://github.com/code-423n4/2022-05-opensea-seaport/blob/main/contracts/lib/OrderFulfiller.sol#L163-L165