:::info Tested only with JsonRpcProviders :::
- If the provider fails on some operation new provider is elected.
- If all providers fail on the same operation error is thrown.
- When we switch to the next provider, all operations are executed by it till it fails.
- Providers are elected by the sequence given in array. If array ends we start from the beginning.
- Works like `ProviderWithFallback, with an exception for two methods.
-
getBlockNumber
asks all providers for blockNumber and then picks (default is median) -
call
asks all providers for result- if at least
N
answers are the same, it returns call result - ignores all errors
- as soon as it will receive
N
matching responses returns. (doesn't wait for the rest of the providers to finish)
- if at least