Everything was working fine then one day I upgraded my node version and HDwallet and I am struggling since then . there is no error of contract size as I tried even small contract also.
Node Version: 16.13.0
HD Wallet: 1.7.0
Truffle v5.4.21
Getting following error while deploying using infura.
Error: PollingBlockTracker - encountered an error while attempting to update latest block:
Error: getaddrinfo ENOTFOUND ropsten.infura.io
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:71:26)
at PollingBlockTracker._performSync (/Users/apple/Documents/Sandeep_Backup/SourceCode/wakanomy/WakanomySmartContract/node_modules/eth-block-tracker/src/polling.js:51:24)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
hi @sandeep.hyperledger and welcome to the Infura community !
It might be just a coincidence and you have some slow network / dns issues. I’d try these first:
This seems to be a very painful and consistently occurring issue on the Polygon mainnet RPC and there’s no wss alternative to it. Can it be advised on how to deal with that then?