✅ UUPS Upgradable Smart Contract will check the upgrader carefully(logic-layer upgrade contract)
Upgradable UUPS
Proxy Patterns
How to solve it?
- The user needs to execute
selfdestruct
but there is no function.
- upgrade trigger has a logic layer in UUPS Upgradable pattern
- user have to upgrade to the contract which has the
selfdestruct
function
- user needs to get the authentication to upgrade the contract(to be upgrader)
- executing the initialize()
Ethernaut Hacks Level 25: Motorbike