upgrades-safe-app icon indicating copy to clipboard operation
upgrades-safe-app copied to clipboard

App failing to validate contracts entered.

Open OlypsisAli opened this issue 3 years ago • 4 comments

When entering the below contracts into the OZ upgrade app the app fails to validate the addresses. The console displays an error from ethers.js. Behavior is observed across multiple browser platforms.

  • 0xb305904AAb1d1041B9c237E46a68FC9a22d60Bc2 -0x21498aF25DCba733A586e351627986872BAa4Ba9

Screen Shot 2021-12-14 at 7 08 28 AM Screen Shot 2021-12-14 at 7 38 52 AM

OlypsisAli avatar Dec 15 '21 21:12 OlypsisAli

This error is due to a change in gnosis safe's API after which it doesn't provide a network name anymore. That name is eventually used to initialize an ethers.js provider, resulting in that error.

To fix this, we need to update our app to the latest version of the safe-apps-sdk.

martriay avatar Dec 20 '21 09:12 martriay

@martriay Any update on this? We rely on this app and need to use it to upgrade one of our smart contracts for a major feature release in our dApp

sananbintahir avatar Dec 26 '21 13:12 sananbintahir

If that's the case I suggest you use Defender (it's free!) to upgrade your contracts with your multisig until we release a fix.

martriay avatar Dec 27 '21 02:12 martriay

You can check out these docs for more info on how to use Defender for upgrades.

spalladino avatar Dec 27 '21 12:12 spalladino