I deployed an Upgradeable proxy on Rinkeby and it all worked great.
Then when I deployed to mainnet, it ended up costing me $133, the transaction on Etherscan says it was “successful” but I get this error in the openzeppelin-cli:
“… deployment failed with error: The contract code couldn’t be stored, please check your gas limit”
So now, I don’t know if the contract is deployed and I certainly don’t want to try again at that price!
Thanks. I think the first step completed but the upgradeable proxy part failed. So I manually deployed an UpgradeableProxy instance with the appropriate constructor args and it’s working.
The proxy address is: 0xf383B4799D91B7A68B0F26ea44031A9733952578
It would be nice to get this setup in my OZ configuration so that I can interact and upgrade in the future. Which we already have a need to do. How do I set the appropriate hashes in the mainnet.json config file for the impl/proxy contracts?
Also, the etherscan verification process never worked for Rinkeby. It just fails without a descriptive reason. It would be good to figure out why it fails. Any way to debug that?