From 3bd78694748653ba9d429b0af699421e90e5d436 Mon Sep 17 00:00:00 2001 From: Peter Zhang Date: Wed, 20 Nov 2024 17:29:10 +0800 Subject: [PATCH] fix params --- tests/test_framework/contract_proxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_framework/contract_proxy.py b/tests/test_framework/contract_proxy.py index 83c9ebe..5f11dd8 100644 --- a/tests/test_framework/contract_proxy.py +++ b/tests/test_framework/contract_proxy.py @@ -42,7 +42,7 @@ class ContractProxy: contract = self._get_contract(node_idx) - return getattr(contract.events, event_name).create_filter(fromBlock =0, toBlock="latest").get_all_entries() + return getattr(contract.events, event_name).create_filter(from_block=0, to_block="latest").get_all_entries() def transfer(self, value, node_idx = 0): tx_params = copy(TX_PARAMS)