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

COMMON_RARITY Variable Can Be More Optimized

Vulnerability Details

COMMON_RARITY variable can be uint8 yet it is uint256. With making the uint lower, we can save some gas.

Impact

We save some amount of gas.

Tools Used

Manual reading.

Recommendations

Lower the uint256 to uint8.

Updates

Lead Judging Commences

patrickalphac 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.