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.
This commit is contained in:
kayibal
2024-07-29 16:47:21 +01:00
parent 7beaf731bf
commit add412d712

View File

@@ -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 = {}