Transaction was not mined within 750 seconds while deploying to rinkeby testnet

Viewed 29

I am trying to deploy smart contract on rinkeby test net. But continuously I am getting the following error

   Deploying 'Migrations'
   ----------------------
   > transaction hash:    0x86ad627d53f469648b8a32364572dafd93990c5ccaf839995fba79500875d660
 ** Deployment Failed **

"Migrations" -- Transaction was not mined within 750 seconds, please make sure your transaction was properly sent. Be aware that it might still be mined! -- Reason given: Custom error (could not decode)..


Exiting: Review successful transactions manually by checking the transaction hashes above on Etherscan.

I tried deploying on ropsten and it was successful and everything worked fine. The rinkeby network settings I used is like below

rinkeby: {
  provider: () => new HDWalletProvider(mnemonic, `https://rinkeby.infura.io/v3/${projectId}`),
  network_id: 4,       // Rinkeby's id
  gas: 10000000,        
  gasPrice: 100000000,  // 1 gwei (in wei) (default: 100 gwei)
  confirmations: 2,    // # of confs to wait between deployments. (default: 0)
  timeoutBlocks: 200,  // # of blocks before a deployment times out  (minimum/default: 50)
  skipDryRun: true     // Skip dry run before migrations? (default: false for public nets )
},

What can be the reason for this ? Thanks in advance

1 Answers

The transaction is still pending (time now: 1663140032). You should check you set gasPrice high enough. Just try to set 100 gwei when deploying and gasLimit=5000000.

Related