QA Report #28
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
valid
1. _safemint() should be used rather than _mint() wherever possible
HomeFi.sol#L292
DebtToken.sol#L66
2. unnecessary confusing syntax
3. inconsistent spacing in comments
Some lines use
// x
and some use//x
. The instances below point out the usages that don’t follow the majority, within each file4. library/interface files should use
^
before versionsSignatureDecoder.sol#L3
Tasks.sol#L3
5. constants should be defined rather than using magic numbers
Even assembly can benefit from using readable constants instead of hex/numeric literals
SignatureDecoder.sol#L25
SignatureDecoder.sol#L35
SignatureDecoder.sol#L3
SignatureDecoder.sol#L75-78
SignatureDecoder.sol#L82-83
The text was updated successfully, but these errors were encountered: