Omniscia BlazeSwap Audit
BlazeSwapPair Code Style Findings
BlazeSwapPair Code Style Findings
BSP-01C: Inexistent Error Message
Type | Severity | Location |
---|---|---|
Code Style | BlazeSwapPair.sol:L85 |
Description:
The linked require
check has no error message explicitly defined.
Example:
contracts/core/BlazeSwapPair.sol
85require(l.pluginSelector[selectors[i]] == address(0));
Recommendation:
We advise one to be set so to increase the legibility of the codebase and aid in validating the require
check's condition.
Alleviation:
The BlazeSwap team considered this exhibit but opted not to apply a remediation for it as they have stated they will not remediate any issues of minor severity and below.