QA Report #157
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
Non-critical
[N-01] Lint error
manifest-v2/contracts/Proposal-Store.sol:
constructor
and theAddProposal
function have many parameters, align these on lines to improve clarity[N-02] Wrong comment
manifest-v2/contracts/Proposal-Store.sol, L6, L7: This comment it's wrong maybe was a mistake from
ERC20DirectBalanceManipulation
contract copy-paste, remove it and add one[N-03] Missing event emitting
Each function that changes the state of the contract should have an associated event to facilitate off-chain monitoring
manifest-v2/contracts/Proposal-Store.sol: The
constructor
and theAddProposal
function should emit an event when add a proposal to theproposals
array[N-04] The names of the functions should be start in lower case
manifest-v2/contracts/Proposal-Store.sol, L42, L31, L49 the names of the functions should be start in lower case:
addProposal
andqueryProp
; also the name of the varsUniGovModAcct
[N-05] Non-library/interface files should use fixed compiler versions, not floating ones
Proposal-Store.sol#L3
[N-06] Remove
hardhat/console.sol
Remove the
hardhat/console.sol
on BaseV1-core.sol#L4 and theconsole.log
function callsRemove the
hardhat/console.sol
on CErc20.sol#L5 and theconsole.log
function callsRemove the
hardhat/console.sol
on AccountantDelegate.sol#L7 and theconsole.log
function callsThe text was updated successfully, but these errors were encountered: