QA Report #17
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
[L-01]
require()
should be used instead ofassert()
:-[L-02] SPDX license identifiers missing:-
[L-03] Missing checks for
address(0x0)
when assigning values toaddress
state variables:-[L-04] MOpen TODOS (Code architecture, incentives, and error handling/reporting questions/issues should be resolved before deployment):-
[L-05] abi.encodePacked() should not be used with dynamic types when passing the result to a hash function such as keccak256():-
[L-06] address.call{value:x}() should be used instead of payable.transfer():-
[L-07] Upgradeable contract is missing a __gap[50] storage variable to allow for new storage variables in later versions:-
[N-01] Adding a return statement when the function defines a named return variable, is redundant:-
[N-02] require()/revert() statements should have descriptive reason strings:-
[N-03] Use a more recent version of solidity (Use a solidity version of at least 0.8.12 to get
string.concat()
to be used instead ofabi.encodePacked(<str>,<str>)
):-[N-04]
Event
is missingindexed
fields (Eachevent
should use threeindexed
fields if there are three or more fields):-[N-05] Use a more recent version of solidity (Use a solidity version of at least 0.8.13 to get the ability to use using
for
with a list of free functions):-[N-06]
public
functions not called by the contract should be declaredexternal
instead:-[N-07] Unused file:-
The text was updated successfully, but these errors were encountered: