Hawk High

First Flight #39
Beginner FriendlySolidity
100 EXP
View results
Submission Details
Impact: high
Likelihood: high
Invalid

The `bursary` state variable is not modified within `graduateAndUpgrade`

Description and Impact

The bursary state variable is not modified within graduateAndUpgrade after the money are distributed to the principal and teachers

The amount of USDC within LevelOne has to be reflected within bursary state variable but after he upgrade it will be different .

If there are 100 USDC in the school's budget, after the upgrade where 5% goes to the principal and 35% to the teachers registered, there will be 60 USDC but the bursary will still account the 100 USDC that were before the execution of graduateAndUpgrade .

Recommended mitigation

Update the bursary state variable within LevelOne :: graduateAndUpgrade as expected .

PoC

There is not a PoC . The issue can be understood easily .

Updates

Lead Judging Commences

yeahchibyke Lead Judge 21 days ago
Submission Judgement Published
Invalidated
Reason: Lack of quality
yeahchibyke Lead Judge 21 days ago
Submission Judgement Published
Invalidated
Reason: Lack of quality

Appeal created

nuuopdaem Submitter
20 days ago
yeahchibyke Lead Judge
18 days ago
yeahchibyke Lead Judge 17 days ago
Submission Judgement Published
Invalidated
Reason: Lack of quality

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.