Omniscia Vector Finance Audit
MasterChefVTX Code Style Findings
MasterChefVTX Code Style Findings
MCV-01C: Inexistent Error Message
Type | Severity | Location |
---|---|---|
Code Style | Informational | MasterChefVTX.sol:L500 |
Description:
The linked require
check has no error message explicitly defined.
Example:
contracts/MasterChefVTX.sol
500require(msg.sender == pool.helper);
Recommendation:
We advise it to be set so to aid in the validation of the require
's condition as well as the legibility of the codebase.
Alleviation:
An error message was properly defined for the linked require
check.