Use of gas()
is not optimal.
In both calls gas()
is used to specify the gas limit for the given call. How ever using gas()
means the call will consume all available gas up to the block gas limit. If a function makes multiple calls using gas()
set to the maximum available gas, it could potentially exhaust all the gas available for the transaction, leaving none for subsequent operations or for the transaction itself to succeed.
Could lead to reverts due to out of gas errors.
Manual review
It is recommended to specify the optimal amount of gas to be used for each call.
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.