From dd5290b829b4ce74f371a083dc1018d1d0098f3a Mon Sep 17 00:00:00 2001 From: Matt Rivas Date: Fri, 9 Feb 2024 16:02:42 +0530 Subject: [PATCH] fix: snapshotter id ping using camelcase for web3 py. --- snapshotter/snapshotter_id_ping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snapshotter/snapshotter_id_ping.py b/snapshotter/snapshotter_id_ping.py index 079afdf6..4afcd6c3 100644 --- a/snapshotter/snapshotter_id_ping.py +++ b/snapshotter/snapshotter_id_ping.py @@ -23,7 +23,7 @@ async def main(): anchor_rpc = RpcHelper(settings.anchor_chain_rpc) protocol_abi = read_json_file(settings.protocol_state.abi) protocol_state_contract = anchor_rpc.get_current_node()['web3_client'].eth.contract( - address=Web3.toChecksumAddress( + address=Web3.to_checksum_address( settings.protocol_state.address, ), abi=protocol_abi,