BriVault

First Flight #52
Beginner FriendlySolidity
100 EXP
View results
Submission Details
Impact: low
Likelihood: low
Invalid

No Event Emission After User Cancels Participation

Root + Impact

Description

The function 'cancelParticipation' is used by users to leave an event before the start time

  • After a user cancels participation, an event is supposed to be emitted. Events are the most gas effiecient way of off chain tracking of a contract's state and should be used for cleaner and better production

// Root cause in the codebase with @> marks to highlight the relevant section

Risk

Likelihood:

  • When a user leaves an event

  • Reason 2

Impact:

  • Impact 1

  • Impact 2

Proof of Concept

Recommended Mitigation

- remove this code
+ event ParticipationCanceled(address indexed user, uint256 refundedAmount);
event should be added
Updates

Appeal created

bube Lead Judge 19 days ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.

Give us feedback!