polygon-edge
polygon-edge copied to clipboard
Openzeppelin upgrades not working
Openzeppelin upgrades not working
Description
Hi , I am trying to use upgradeable smart contracts on our polygon edge test instance. I have used the example of openzeppelin upgradeable contracts using hardhat plugin
Your environment
- OS and version.
- The version of the Polygon Edge - 0.6.
- The RPC Url - https://staging.edge.guardianlink.io.
- Aws terraform hosted .
Steps to reproduce
- git clone https://github.com/SudharsananKnandhan/upgradeable_smart_contract
- npx hardhat run scripts/deploy.js --network gl
- npx hardhat run scripts/upgrade.js --network gl
Expected behavior
- This should have upgraded the smart contract
- Instead i am getting the following Error: Contract at 0x4FB3CbCfc97B0A04d1b0b0e4157CB1bbAd289C0B doesn't look like an ERC 1967 proxy with a logic contract address
I've come across this same issue, were you able to find a fix?