The Standard

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

`SmartVaultV3`For loop Operations that can overflow gas optimization ++i cost less than i++

Summary

For loop Operations that will not overflow when moving through an index,

Vulnerability Details

gas optimization when you incremental

Impact

check for underflow and use more gas

Tools Used

Recommendations

use unchecked to save gas

unchecked {
++i;
}
Updates

Lead Judging Commences

hrishibhat Lead Judge almost 2 years 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.