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
It looks like after a while, ethers.js always runs into this. One way to work around the problem could be to re-initialize a few of the runtime components, like the StaticJsonRpcProvider. This may be a pretty involved workaround, so it would be preferable if ethers.js could be made more robust.
The text was updated successfully, but these errors were encountered:
I reworked the agent to recreate the Ethereum provider every 10 minutes but after only 2 minutes it starts throwing unresolved promise rejections again. So that idea doesn't cut it as a workaround.
For reference: ethers-io/ethers.js#1208
It looks like after a while, ethers.js always runs into this. One way to work around the problem could be to re-initialize a few of the runtime components, like the
StaticJsonRpcProvider
. This may be a pretty involved workaround, so it would be preferable if ethers.js could be made more robust.The text was updated successfully, but these errors were encountered: