State variables that never change after deployment should be marked as constant.
The commonImageUri, rareImageUri, and legendaryImageUri variables never change but are taking up expensive storage slots.
Likelihood:
Happens on every deployment and contract interaction because these slots remain non-constant.
Users pay extra gas whenever the contract is deployed or these storage variables are accessed.
Impact:
Unnecessary gas consumption
Inefficient storage layout
Not applicable - Gas Optimization
The contest is live. Earn rewards by submitting a finding.
Submissions are being reviewed by our AI judge. Results will be available in a few minutes.
View all submissionsThe contest is complete and the rewards are being distributed.