feat(testing): add balances check

This commit is contained in:
Florian Pellissier
2024-05-21 15:16:46 +02:00
parent 8cc526527e
commit 9a647b76ce
3 changed files with 39 additions and 22 deletions

View File

@@ -141,10 +141,7 @@ class TychoRunner:
"""Retrieve protocol state from the RPC server."""
url = "http://0.0.0.0:4242/v1/ethereum/protocol_state"
headers = {"accept": "application/json", "Content-Type": "application/json"}
data = {
"protocolSystem": "string",
"version": {"block": {"chain": "ethereum", "number": 0}},
}
data = {}
response = requests.post(url, headers=headers, json=data)
return response.json()