Yesterday and I today I was able to deploy to Mumbai for testing w/o any problems (0x4E22708AEbB2D6a0A8a22e119684ec48654100b8 - Mumbai Explorer)
Since then over last 8 hours or so when I’ve tried to deploy and run my tests and it just hangs after my contracts compile. Occasionally, if I don’t cancel the migration, I’ve seen this error:
Error: PollingBlockTracker - encountered an error while attempting to update latest block:
Error: getaddrinfo ENOTFOUND polygon-mumbai.infura.io
It looks like this error is in the eth-block-tracker
library’s _performSync
function.
Furthermore, if I let it timeout, I’ve seen this:
Error: *** 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!.
Here’s what my config looks like:
//polygon Infura testnet
polygon_infura_testnet: {
networkCheckTimeout: 100000,
provider: () => new HDWalletProvider(mnemonic2, `https://polygon-mumbai.infura.io/v3/${projectId}`),
network_id: 80001,
confirmations: 2,
timeoutBlocks: 50,
skipDryRun: true,
chainId: 80001,
gas: 1000000,
gasPrice: 7000000000,
},
Not sure if it’s an Infura issue, Truffle issue, HDWalletProvider issue, or Matic issue?
Anyone happen to have thoughts? Appreciate your help.