Hi guys, i am using upgradable contracts, when i deploy the owner of the proxy contract is my address but the owner of the implementation is 0x0 is this normal? However, every function that i call from proxycontract that has OnlyOwner modifier throw me caller is not the owner error, in the initialize function i already call __Ownable_init() to set the owner
Nov 3, 2022, 10:39 AM
Did you call initialize? :o
On the implementation
Nov 3, 2022, 10:48 AM
Yes
Nov 3, 2022, 10:48 AM
Mhm strange, are you using hardhat to deploy proxies?
Nov 3, 2022, 10:49 AM
Yes
Nov 3, 2022, 10:49 AM