polygon-edge icon indicating copy to clipboard operation
polygon-edge copied to clipboard

Openzeppelin upgrades not working

Open SudharsananKnandhan opened this issue 2 years ago • 1 comments

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

SudharsananKnandhan avatar Feb 13 '23 13:02 SudharsananKnandhan

I've come across this same issue, were you able to find a fix?

cybercorey avatar Apr 01 '23 07:04 cybercorey