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

Owner's address should be immutable

Summary

The address of the owner should be set to immutable, since there is no need to change it in the code, therefore making it more secure.

Vulnerability Details

The variable s_owner should be immutable to avoid being changed in some attack scenarios.

Impact

The immutable variable is more appropriate for this kind of storage.

Tools Used

Manual codebase analysis.

Recommendations

- address private s_owner;
+ 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.