Staking contract has balance
and index
variables stored in storage.
During deployment these variable values set to 0. That is not necessary as default uint256 variable value is already 0.
While explicitly setting these variables to 0 we use additional gas.
Extra gas is used
Observation
Change code to
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.