The Standard

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

Using ++i instead of i++

Summary

Vulnerability Details:

In Solidity, ++i is generally considered better than i++ due to the difference in how they work and the gas costs associated with them. In all loops in all function, it is recommended to use ++i instead of i++.

Impact

Gas

Tools Used

manual

Recommendations:

replacing i++ by ++i

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.