The graduateAndUpgrade function in LevelOne.sol fails to transfer 60% of the bursary to the new contract during the upgrade process, potentially leaving funds stranded in the old contract.
60% of the bursary should be transferred to LevelTwo contract but funds remain in the old contract after upgrade.
No proper fund management during upgrade process.
High: This vulnerability:
Could lead to funds being locked in the old contract
May cause financial issues for the new contract
Could affect teacher and principal payments
Makes the upgrade process incomplete
Manual code review
Add bursary transfer logic to graduateAndUpgrade:
Funds are stuck in `LevelOne()` contract after 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.