Hello everyone
I have a strange problem
When i want to upgrade my contract (open zeplin upgrade able )
I've faced this error "Ownable: caller is not the owner " but the ower is same
this is my init function
I want to update through the proxy, I encounter this error, everything is fine and working in the testnets, but in the mainnent I have this error
The point is that the deployer is the same as the upgrader
reason: 'execution reverted: Ownable: caller is not the owner',
code: 'UNPREDICTABLE_GAS_LIMIT',
method: 'estimateGas',
transaction: {
from: '0xc9d1562f9EE4A38Db44Bc50623E06Ee5b89adE7b',
to: '0xd78B285D3DfCa10b7b637E6DC2FBc3638410cd80',
data: '0x99a88ec400000000000000000000000056c383653f9f646a31f250bb9a86b6dbe3b470070000000000000000000000007b3f857512c57270d3020a9dc8cf6881243b50ca',
accessList: null
},
Apr 3, 2023, 10:26 PM
everything is fine and working in the testnets, but in the mainnent I have this error
Apr 3, 2023, 10:38 PM