QA Report #77
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
Low Risk
Duplicate asset can be defined in
ManagedIndex.initialize
https://github.com/code-423n4/2022-04-phuture/blob/594459d0865fb6603ba388b53f3f01648f5bb6fb/contracts/ManagedIndex.sol#L27
Duplicate asset can be defined in
ManagedIndex.initialize
, which only the last entry would be effectiveNon-Critical
Pin Solidity Version
Consider to pin Solidity version to latest 0.8.12
Lack input validation in
ManagedIndex.initialize
https://github.com/code-423n4/2022-04-phuture/blob/594459d0865fb6603ba388b53f3f01648f5bb6fb/contracts/ManagedIndex.sol#L27
_assets
and_weights
might not be same length, both arrays may have 0 valueThe text was updated successfully, but these errors were encountered: