Dria

Swan
NFTHardhat
21,000 USDC
View results
Submission Details
Severity: low
Invalid

The variable `validationDeviationFactor` is not used.

Summary

The variable validationDeviationFactor is not used.

Vulnerability Details

In the function finalizeValidation, when sending rewards to validators that are within the range, variable validationDeviationFactor is not used. The documentation says: The deviation factor for the validation scores. So it should be used when sending rewards to validators.

Impact

Violate documentation and reduce the flexibility of the contract.

Tools Used

Vscode

Recommendations

Use variable validationDeviationFactor in the function finalizeValidation.

Updates

Lead Judging Commences

inallhonesty Lead Judge 12 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.