Hawk High

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

LevelTwo variables missing proper inizialization after the upgrade which can lead to unexpected behavior

Summary

LevelTwo variables are not properly inizialized after the upgrade.

Vulnerability Details

The function LevelTwo::graduate called by the LevelOne::graduateAndUpgrade function does not properly initialize the variables of the LevelTwo contract.
This means that the LevelTwo contract will not have the correct values for the variables, which can lead to unexpected behavior.

Impact

The impact of this vulnerability is HIGH, as it can lead to unexpected behavior in the LevelTwo contract.

Tools Used

Slither

Recommendations

Inizialize the variables of the LevelTwo contract in the LevelTwo::graduate function.

Updates

Lead Judging Commences

yeahchibyke Lead Judge 7 months ago
Submission Judgement Published
Invalidated
Reason: Lack of quality

Support

FAQs

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

Give us feedback!