Platform: Code4rena
Start Date: 14/03/2024
Pot Size: $49,000 USDC
Total HM: 3
Participants: 51
Period: 7 days
Judge: 3docSec
Id: 350
League: ETH
Rank: 47/51
Findings: 1
Award: $13.69
🌟 Selected for report: 0
🚀 Solo Findings: 0
🌟 Selected for report: K42
Also found by: 0x11singh99, 0xAnah, Hajime, SAQ, SM3_SS, albahaca, clara, dharma09, hunter_w3b, naman1778, shamsulhaq123, slvDev
13.6948 USDC - $13.69
The new optimization in v0.8.22 removes the need for poor unchecked increment patterns in for loop bodies such
Solidity 0.8.22 introduces an overflow check optimization that automatically generates an unchecked arithmetic increment of the counter of for loops.
manual
do not use ++i
in >v0.8.22
Other
#0 - c4-pre-sort
2024-03-22T03:04:55Z
raymondfam marked the issue as insufficient quality report
#1 - c4-pre-sort
2024-03-22T03:05:00Z
raymondfam marked the issue as primary issue
#2 - raymondfam
2024-03-22T03:05:36Z
It's meant for gas optimization.
#3 - 3docSec
2024-03-27T10:04:47Z
The lookout made a good point.
#4 - c4-judge
2024-03-27T10:04:56Z
3docSec changed the severity to G (Gas Optimization)
#5 - c4-judge
2024-03-27T10:05:06Z
3docSec marked the issue as grade-b