From add412d71224b334158ae2b7027d9e55778bed44 Mon Sep 17 00:00:00 2001 From: kayibal Date: Mon, 29 Jul 2024 16:47:21 +0100 Subject: [PATCH] fix(testing): Do not include balances with contracts. Manually inserted contracts do not have balances attached to them so this would lead to 500 errors on the tycho side. With balances disabled, things work fine now. --- testing/src/runner/tycho.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/src/runner/tycho.py b/testing/src/runner/tycho.py index 31fcafb..d6e46cf 100644 --- a/testing/src/runner/tycho.py +++ b/testing/src/runner/tycho.py @@ -63,7 +63,7 @@ class TychoRPCClient: def get_contract_state(self) -> dict: """Retrieve contract state from the RPC server.""" - url = self.rpc_url + "/v1/ethereum/contract_state" + url = self.rpc_url + "/v1/ethereum/contract_state?include_balances=false" headers = {"accept": "application/json", "Content-Type": "application/json"} data = {}