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

Missing emission for critical event RequestedRaffleWinner

Summary

The event RequestedRaffleWinner is defined but never emitted.

Vulnerability Details

The RequestedRaffleWinner event is already defined. It should be emitted at the end of the request_raffle_winner() function call.

Impact

Low: Events are useful for off-chain tracking but do not directly impact the contract functionality.

Tools Used

Manual code inspection.

Recommendations

Add log RequestedRaffleWinner(request_id) before return ERC721._total_supply() in the request_raffle_winner() function.

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.