Description: According to the documentation, the graduateAndUpgrade function should not be called unless the school's sessionEnd has reached.
However, there is no check for sessionEnd in the graduateAndUpgrade function.
Impact: This could lead to a situation where the graduateAndUpgrade function is called before the sessionEnd
Proof of Concept: pre-requirement is fixing the LevelTwo not implementing UUPSUpgradeable
then add following test and run
Recommended Mitigation: add condition to check if sessionEnd has reached in the graduateAndUpgrade function
`graduateAndUpgrade()` can be called successfully even when the school session has not ended
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.