ethers.js
ethers.js copied to clipboard
Patch/fallback provider
From: https://github.com/ethers-io/ethers.js/issues/2837
Steps to reproduce the bug that this PR fixes would be to simply give an obviously broken URI as one of the providers to the FallbackProvider. This one broken server will halt/break the entire FallbackProvider.
Fix is working. I spent like a month trying to find the cause of the issue and finally found this PR. Thanks! 🚀
Can someone guide me on how to properly build this project. I'm not so familiar with monorepos like this one and it appears the conflicts are due to the "tracked artifacts" from building (why are artifacts tracked in revision history?). I'd be happy to update this PR to ready it for review/merge; it seems people are finding this fix useful. Thanks!
Please point me in the right direction about how to build this project to be correctly prepared for merge and I will update the conflicts. This fixes the FallbackProvider which is pretty critical for applications which connect to many RPC nodes.