diff --git a/silverback/subscriptions.py b/silverback/subscriptions.py index 2bfae3b5..c5a43828 100644 --- a/silverback/subscriptions.py +++ b/silverback/subscriptions.py @@ -18,6 +18,10 @@ class Web3SubscriptionsManager: subscription_polling_time: float = 0.1 # secs def __init__(self, ws_provider_uri: str): + # TODO: Temporary until a more permanent solution is added to ProviderAPI + if "infura" in ws_provider_uri: + ws_provider_uri = ws_provider_uri.replace("v3", "ws/v3") + self._ws_provider_uri = ws_provider_uri # Stateful