Upgrading on Mainnet fails with error 'Transaction was not mined within 750 seconds'

:computer: Environment
Truffle

:memo:Details
I am deploying upgradeable ERC20 contract on mainnet.

  • 1_initial_migraion.js was successfully desployed.

  • 2_deploy_token.js

Deploying XXXToken was successfully deployed.

But while Deploying ‘ProxyAdmin’
It fails with error:
“ProxyAdmin” – Transaction was not mined within 750 seconds, please make sure your transaction was properly sent. Be aware that it might still be mined!.

The TX for ProxyAdmin is mined now.

Is there a way to resume deploying process from the next of ‘Deploying ProxyAdmin’ ?

or I should rerun from the beginning of 2nd deploy? (2_deploy_token.js, XXXToken)

:1234: Code to reproduce

1 Like

Hi @misskiwi,

Welcome to the community :wave:

You can rerun your migration and UpgradesPlugins will pickup where it left off.
Currently you should have:

  1. Truffle Migrations contract deployed
  2. Implementation contract deployed
  3. ProxyAdmin contract deployed

Outstanding is:
4. proxy contract
5. Truffle updating Truffle Migrations contract