The Standard

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

External call recipient may consume all transaction gas (gas griefing)

Summary

file: /contracts/LiquidationPool.sol
172 (bool _sent,) = payable(msg.sender).call{value: _rewardAmount}("");

Vulnerability Details

There is no limit specified on the amount of gas used, so the recipient can use up all of the transaction's gas, causing it to revert. Use addr.call{ gas: }("") or this library instead.

Impact

Tools Used

Recommendations

an example
addr.call{ gas: }("")

Updates

Lead Judging Commences

hrishibhat Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Too generic
Assigned finding tags:

informational/invalid

Support

FAQs

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