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

Does not check if event has started

Summary

joinEvent function lacks a check to ensure that the event has started before allowing participants to join. Without this check, participants could join before the event begins, which might not be intended behavior

Impact

The function can be called successfully when the event has not started

Tools Used

Manual Inspection

Recommendations

When the joinEvent function is called, it should check if the event has started
function joinEvent() external {
require(block.timestamp > eventStartTime, "Event has not started yet");
...
}

Updates

Lead Judging Commences

bube Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

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