Deny Of Service on RemoveTeacher() and expel() if listOfTeachers.length is too high.
https://github.com/CodeHawks-Contests/2025-05-hawk-high/blob/main/src/LevelOne.sol#L220-L241
If listOfTeachers.length is too high (meaning there is too much teachers added to the table)
then because of the loop, the execution will exceed the gas limit and the function will always fail.
Same with expel() if there is too much students (listOfStudents.lengt is too high)
https://github.com/CodeHawks-Contests/2025-05-hawk-high/blob/main/src/LevelOne.sol#L243-L267
Deny Of Service, the transaction will fail because it will exceed the gas limit.
No possibility to remove a teacher nor expel.
Github, Manual review.
The number of students and teachers should be limited to a certain amount to avoid exceeding the gas limit.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.