The PasswordStore::s_owner
variable is unable to be changed, therefore it should be immutable to save gas.
If a variable never changes, then reading from storage is less gas efficient, and instead we should read from the bytecode. Using an immutable variable will enable the protocol to save gas on reading the PasswordStore::s_owner
variable.
Wastes gas
Slither
Foundry
Set s_owner
to immutable.
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.