First Flight #12: Kitty Connect

First Flight #12: Kitty Connect
Beginner FriendlyFoundryNFTGameFi
100 EXP
View results
Submission Details
Severity: low
Invalid

Storage variables "s_linkToken", "kittyConnect", "gasLimit" can be made immutable

Summary

Storage variables "s_linkToken", "kittyConnect", "gasLimit" can be made immutable.

Vulnerability Details

Those variables are getting initialized once in the constructor on the contract initialization therefore having them as immutable will save the contract some gas and will apply best practices.

Impact

Low

Tools Used

Part Slither and part manual review.

Recommendations

Make storage variables immutable and add "i_" before the name to scope with best practices for naming conventions.

Updates

Lead Judging Commences

equious Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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