QA Report #196
Labels
bug
Something isn't working
QA (Quality Assurance)
Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax
Summary of Findings for Low / Non-Critical issues
LOW
Non-Critical
Details L-01
Title : Transaction reverted without a reason string, if invalid OrderType given
In the event the OrderType field is wrongly set to an invalid value like more than 3 , then the transaction will revert without a reason string.
Sample transaction output with a value set to 8
Impact
Debuggability will be an issue if no reason string is received
Recommended Mitigation Steps
Add a new Error String for invalid OrderType field , and check for the OrderType
Details NC-01
Title : wrong dev comments in function _assertRestrictedAdvancedOrderValidity
Proof of Concept
Contract : ZoneInteraction.sol
Line : 120
Recommended Mitigation Steps
The comments for this 'if block' should be 'and' instead of 'or' as below
or can be still better worded as
Details NC-02
Title : ConduitController can transfer ownership to the same owner
Impact
Unnecessary transaction
Proof of Concept
Contract : ConduitController
Function : transferOwnership
https://github.com/code-423n4/2022-05-opensea-seaport/blob/4140473b1f85d0df602548ad260b1739ddd734a5/contracts/conduit/ConduitController.sol#L189
Recommended Mitigation Steps
The text was updated successfully, but these errors were encountered: