The storage slots in LevelTwocontract are misaligned because of redeclaring storage variables from LevelOnecontract and missing to add schoolFees, reviewCount, and lastReviewTime.
Storage slot misalignment can completly corrupt contract's state, potentially breaking core functionality or even locked funds.
Manual code review
(1)Either inherit LevelOnecontract so LevelTwoextends LevelOnestorage layout or (2)manually re-declare all storage variables of LevelOnein LevelTwocontract in correct order.
Inherit LevelOnecontract and remove all redeclared state varaiables:
Redelaring all state variables in correct order:
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.