SingleRpcProviderWarning

Documentation for eth_defi.testing.anvil_fork_pool.SingleRpcProviderWarning exception.

exception SingleRpcProviderWarning

Bases: UserWarning

Warn that a fork RPC session has only one upstream provider.

With a single upstream there is no failover: an exhausted or rate-limited archive provider fails the fork instead of switching to a second endpoint. Emitted (and shown in the pytest warnings summary + CI logs) so a single-provider JSON_RPC_* configuration is visible as the root cause of flaky fork tests. Configure two space-separated providers per chain to silence it — see docs/README-test-suite-performance.md.

__init__(*args, **kwargs)
__new__(**kwargs)
add_note(note, /)

Add a note to the exception

with_traceback(tb, /)

Set self.__traceback__ to tb and return self.