Description: In LevelOne:giveReview
function there is no checking mechanism to prevent review after sessionEnd, allowing teacher to give review to students after sessionEnd.
Vulnerability Details: In LevelOne:giveReview
There is no check if Session ended or not
Impact: teacher are allowed to review students after sessionEnd
Tools Used: Manual Review
Proof of Concept: Add this test suit to your LeveOnelAndGraduateTest.t.sol code
Recommendations: Add the following line in your code
and Add the custom error in the contract
`inSession` not updated after during upgrade
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.