The Standard

The Standard
DeFiHardhat
20,000 USDC
View results
Submission Details
Severity: low
Invalid

Dos in `LiquidationPool` contract

Summary

LiquidationPool contract will be Dos'ed because of using an array to store holders

address[] public holders;

Vulnerability Details

LiquidationPool contract is using an array to store the information (address) of the holder but the issue is that when there are large amount of holders, multiple functions in the contract will be Dos'ed as they are ilterating over an array but when the amount of holders grow sufficient the function will fail due to gas constrain

Impact

half of the contract will be Dos'ed and not usable.

Tools Used

Manual review

Recommendations

use mapping instead of array to store holders information

Updates

Lead Judging Commences

hrishibhat Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

informational/invalid

Support

FAQs

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