TransparentUpgradableProxy Inquiry

I don't understand the need for the -1 to get the slot for the implementation. Tested it out in solidity and it always returns the same value.

Hi, welcome to the community! :wave:

I think just in order to reduce the chances of a possible attack, cause we do not know the original data to calculate hash for this slot. And for more details, I think you can have a look at EIP-1967: Proxy Storage Slots