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

Typo in Event.

Summary

There was a typo in the event. So I fixed it.

Vulnerability Details

event SetNetPassword(); // typo Net ❌ : at line number: 16 of `PasswordStore.sol`.
event SetNewPassword(); // typo fixed, New ✅
function setPassword(string memory newPassword) external {
s_password = newPassword;
emit SetNewPassword(); // 👈 also changed here.
}

Impact

It can mislead any WEB3 DEV on frontend and can eat hours to figure out a silly typo.

Tools Used

Manually Hunted.

Recommendations

Should fix the typo to SetNewPassword or keep that in mind, We used SetNetPassword with a t followed by SetNe as our event name.

Updates

Lead Judging Commences

inallhonesty Lead Judge
over 1 year ago
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.