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

State variables that could be declared immutable

Description

State variables that are not updated following deployment should be declared immutable to save gas.

  • found in RapBattle.credToken

  • found in RapBattle.oneShotNft

  • found in Streets.credContract

  • found in Streets.oneShotContract

Recommendation

  • Add the immutable attribute to state variables that never change or are set only in the constructor.

Updates

Lead Judging Commences

inallhonesty Lead Judge over 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.