Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: low
Invalid

Immutable s_owner - Gas Optimisation

Summary

s_owner can be immutable, which will considerably reduce gas usage to read it.

Vulnerability Details

Impact

Use more gas for no real reason.

Tools Used

Recommendations

Add immutable keyword for the s_owner variable.
address private immutable s_owner;

Updates

Lead Judging Commences

inallhonesty Lead Judge
almost 2 years ago
inallhonesty Lead Judge almost 2 years ago
Submission Judgement Published
Invalidated
Reason: Gas optimizations

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.