QA Report #893
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] Remove floating pragma
Locking the pragma will make sure that the contract does not get deployed using outdated compiler versions.
https://github.com/code-423n4/2022-07-golom/blob/main/contracts/governance/GolomToken.sol
[NC-01] Remove comments from previous debug tests
Comments with console.logs should be removed from the codebase.
https://github.com/code-423n4/2022-07-golom/blob/main/contracts/rewards/RewardDistributor.sol
[NC-02] Avoid returning a tuple if a function returns only one item
https://github.com/code-423n4/2022-07-golom/blob/main/contracts/rewards/RewardDistributor.sol#L254-L264
[N-03] Inconsistent spacing for else keyword
Add a spacing before and after the else keyword
https://github.com/code-423n4/2022-07-golom/blob/main/contracts/rewards/RewardDistributor.sol#L194
[N-04] Remove unused state variables
State variables that are not used inside the contract should be removed.
https://github.com/code-423n4/2022-07-golom/blob/main/contracts/core/GolomTrader.sol#L72
[N-05] Convert public functions not consumed by the contract to external
https://github.com/code-423n4/2022-07-golom/blob/main/contracts/core/GolomTrader.sol
https://github.com/code-423n4/2022-07-golom/blob/main/contracts/rewards/RewardDistributor.sol
The text was updated successfully, but these errors were encountered: