You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have an uncaught exception from the ethers library when calling the method provider.getBlock() or provider.getLogs(). We can't determine where this error occurs or what causes it. I suspect that the ethers library is not catching this error.
Could this be caused by a large number of blocks, as my function processMissedBlocks() processes a thousand blocks for each of the six networks?
How to handle this?
We just moved to v6 from v5.
Provider initialization:
Provider: new ethers.WebSocketProvider(`url`, ethers.Network.from(56), {
polling: true,
staticNetwork: true,
}),
Ethers Version
6.13.2
Search Terms
ws, websockets, message_length
Describe the Problem
We have an uncaught exception from the ethers library when calling the method provider.getBlock() or provider.getLogs(). We can't determine where this error occurs or what causes it. I suspect that the ethers library is not catching this error.
Could this be caused by a large number of blocks, as my function processMissedBlocks() processes a thousand blocks for each of the six networks?
How to handle this?
We just moved to v6 from v5.
Provider initialization:
Code Snippet
Contract ABI
No response
Errors
Environment
node.js (v12 or newer)
Environment (Other)
QuickNode
The text was updated successfully, but these errors were encountered: