The graduateAndUpgrade function performs a contract upgrade without verifying whether each student has received the required number of reviews (5). This violates a core invariant of the protocol, which mandates that a student must receive 5 reviews before being eligible for graduation or upgrade.
The function graduateAndUpgrade lacks any logic to verify that students have been reviewed exactly 5 times before proceeding with the upgrade. As a result, students may be upgraded prematurely, without sufficient academic evaluation.
However, the function only performs administrative tasks (e.g., paying teachers/principal and calling _authorizeUpgrade) and does not validate review counts for each student.
Students may be upgraded without meeting academic review standards.
Violates the protocol’s integrity and fairness guarantees.
Could lead to unqualified students receiving benefits or access in LevelTwo.
All students are graduated when the graduation function is called as the cut-off criteria is not applied.
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.