Omniscia DAFI Protocol Audit

Ownable Code Style Findings

Ownable Code Style Findings

OWN-01C: Inexistent Error Messages

TypeSeverityLocation
Code StyleInformationalOwnable.sol:L13, L19

Description:

The linked require checks possess no error message defined.

Example:

contracts/Ownable.sol
18modifier onlyOwner() {
19 require(msg.sender == owner);
20 _;
21}

Recommendation:

We advise an error message to accompany them to ensure that their debugging process is rendered easier.

Alleviation:

An error message was introduced to the second invocation of the two linked ones, partially alleviating this exhibit.