Moonsong-Labs / moonwall

Testing Framework for Substrate networks
https://moonsong-labs.github.io/moonwall/
GNU General Public License v3.0
10 stars 4 forks source link

Add Provider connection timeouts #393

Open timbrinded opened 6 months ago

timbrinded commented 6 months ago

Sometimes due to rate limiting and 429 errors providers end up getting banned/blocked.

The provider libraries (ethers.js, viem, polkadot{js} etc) each react differently this scenario, so we should have a generic way of wrapping and catching these sort of issues and aborting the test run (since the results will be inherently flawed).