Hawk High

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

Missing Parameter Names in Event Declarations

Summary

The LevelOne.sol contract has several event declarations that lack parameter names, making them less descriptive and harder to track in event logs.

Vulnerability Details

Events are declared without parameter names:

event TeacherAdded(address indexed);
event TeacherRemoved(address indexed);
event Enrolled(address indexed);
event Expelled(address indexed);
  • Missing parameter names make it difficult to understand what the indexed address represents.

  • Makes event logs less readable and harder to filter.

Impact

Low: While not a security risk, this affects:

  • Event log clarity.

  • Debugging and monitoring capabilities.

Tools Used

Manual code review

Recommendations

Add descriptive parameter names to all events.

Updates

Lead Judging Commences

yeahchibyke Lead Judge 6 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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