The Standard

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

Unbounded Gas Consumption on External Calls

Summary

External calls in your code don't specify a gas limit, which can lead to scenarios where the recipient consumes all transaction's gas causing it to revert.

Vulnerability Details

File: contracts/SmartVaultV3.sol
137: (bool sent,) = _to.call{value: _amount}("");

Tools Used

VSCode

Recommendations

Consider using addr.call{gas: <amount>}("") to set a gas limit and prevent potential reversion due to gas consumption.

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.