Hawk High

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

Inconsistent teacher wage value from `LevelOne` to `LevelTwo` leads to confusion

Summary

The TEACHER_WAGE constant in LevelOne is 35, while TEACHER_WAGE_L2 in LevelTwo is 40. This discrepancy can lead to confusion and unexpected behavior in calculations related to teacher compensation.

Impact

Inconsistent teacher wage values can lead to incorrect wage calculations, potentially resulting in teachers being underpaid or overpaid, depending on the contract version being used.

Tools Used

Manual review.

Recommendations

Ensure that the teacher wage value is consistent across all contract versions. Update LevelTwo to use the same value for teacher wages.

Updates

Lead Judging Commences

yeahchibyke Lead Judge 7 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.

Give us feedback!