The graduateAndUpgrade function in LevelOne.sol fails to implement the core functionality of upgrading students to LevelTwo, leaving students stranded in LevelOne even after meeting graduation requirements.
No transfer of student data to LevelTwo contract
No interface implementation with LevelTwo contract
No student status updates
Current implementation only handles teacher payments and contract upgrade
High: This vulnerability:
Breaks the core educational progression system
Prevents students from advancing to LevelTwo
Leaves student data stranded in the old contract
Makes the upgrade process incomplete
Could lead to financial losses for students who paid fees
Manual code review
Add student upgrade logic to graduateAndUpgrade:
Implement proper student data transfer
Create and implement interface with LevelTwo contract
Add events to track student graduation
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.