Using unchecked for ++i increments in for loops will save gas as these have no possibility of overflow
The below pattern can be followed to save more gas when there is no possibility of overflow of the increments in the for loop.
for ( uint256 i; i < arrayLength ; ) {
. . .
unchecked {
++i
}
}
costs more gas.
Manual review
Using unchecked for ++i increments in for loops will save gas as these have no possibility of overflow
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.