From e7b1a28b06aa69d4630d60792177cfeb399ad480 Mon Sep 17 00:00:00 2001 From: Sheng Lundquist Date: Wed, 11 Sep 2024 14:31:45 -0700 Subject: [PATCH] Hotfix for call to process subscriptions --- scripts/invariant_checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/invariant_checks.py b/scripts/invariant_checks.py index a25287a21..c92398fb7 100644 --- a/scripts/invariant_checks.py +++ b/scripts/invariant_checks.py @@ -159,7 +159,7 @@ async def run_event_handler( subscription_id_to_pool_lookup = await _init_event_handler(ws_web3, pools) # Listen for responses - async for response in ws_web3.ws.process_subscriptions(): + async for response in ws_web3.socket.process_subscriptions(): # Result here is encoded, need to decode if we want to use anything from it. # We get the first topic element, which defines the type of event. assert "result" in response