QA Report #96
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
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
valid
[QA-1] Naming inconsistency - some arguments have
_
at their prefixes but others do not at NestedFactory.solThroughout the file
NestedFactory.sol
, arguments of functions have_
at their prefixes likefunction setFeeSplitter(FeeSplitter _feeSplitter)
. However, following 2 arguments do not have_
at their prefixes which are not consistent.https://github.com/code-423n4/2022-06-nested/blob/main/contracts/NestedFactory.sol#L121
https://github.com/code-423n4/2022-06-nested/blob/main/contracts/NestedFactory.sol#L133
[QA-2] Use either
_msgSender()
ormsg.sender
Throughout the file
NestedFactory.sol
,_msgSender()
is used to get the sender. However, following 2 places usemsg.sender
which seem not consistent.https://github.com/code-423n4/2022-06-nested/blob/main/contracts/NestedFactory.sol#L89
https://github.com/code-423n4/2022-06-nested/blob/main/contracts/NestedFactory.sol#L177
The text was updated successfully, but these errors were encountered: