Liquid Staking

Stakelink
DeFiHardhatOracle
50,000 USDC
View results
Submission Details
Severity: medium
Invalid

VaultControllerStrategy cannot be upgraded

Summary

VaultControllerStrategy does not have the _authorizeupgrade function which makes upgrade impossible.

Vulnerability Details

VaultControllerStrategy is a base contract which has the // storage gap for upgradeability
uint256[4] private __gap;

It does not have the _authorizeupgrade function which means it cannot be upgraded

Impact

Owner cannot upgrade this contract

Tools Used

Manual Review

Recommendations

add this:

/**
* @dev Checks authorization for contract upgrades
*/
function _authorizeUpgrade(address) internal override onlyOwner {}
Updates

Lead Judging Commences

inallhonesty Lead Judge 8 months ago
Submission Judgement Published
Invalidated
Reason: Design choice

Support

FAQs

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