Hawk High

First Flight #39
Beginner FriendlySolidity
100 EXP
View results
Submission Details
Severity: high
Valid

[M-3] Student cannot be upgraded to level two

Description:
The function called an internal function _authorizeUpgrade() which is empty at

_authorizeUpgrade(_levelTwo);

But here is the code of the _authorizeUpgrade() function

function _authorizeUpgrade(address newImplementation) internal override onlyPrincipal {}

Impact:
Logic of the code has been broke and the functionality cannot work as intended

Remediation:
Implement upgrade code inside the internal function at LevelOne::_authorizeUpgrade

Updates

Lead Judging Commences

yeahchibyke Lead Judge 6 months ago
Submission Judgement Published
Validated
Assigned finding tags:

failed upgrade

The system doesn't implement UUPS properly.

Support

FAQs

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