In the _clampWeights, there is a div before mul because of which there may be a loss of accuracy when calculating the value when _weights[i] != absoluteMin First sumRemainerWeight.div(sumOtherWeights) which is equal to proportionalRemainder and then _weights[i].mul(proportionalRemainder);
Precission loss when calculating _weights[i]
Manual
Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelyhood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.