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

Unused local variable

Summary

The 'puppyRaffle' variable is unused local variable.

Vulnerability Details

'''solidity
puppyRaffle = new PuppyRaffle(
1e18,
feeAddress,
duration
);
'''
If a variable unused wastes gas. Removing pupyRaffle variable will save gas.

Impact

Wastes gas.

Tools Used

-slither

  • foundry

Recommendations

Remove puppyRaffle variable

Updates

Lead Judging Commences

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