In the LevelOne contract, the graduateAndUpgrade function is designed to handle the graduation process and transition to a new contract implementation. However, it does not verify whether students have achieved the necessary cutOffScore before initiating this process.
The graduateAndUpgrade function does not check if students have met the required cutOffScore. Students who have not achieved the necessary score can still graduate, undermining the integrity of the academic evaluation process.
Students who have not achieved the necessary score (cutoffscore)can still graduate, undermining the integrity of the academic evaluation process.
Manual code review
Implement Cutoff Score Verification: Before proceeding with graduation, iterate through the list of students and ensure each has a studentScore equal to or exceeding the cutOffScore.
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.