refactor(substreams-testing): Use Pydantic validators, Hexbytes and improve description

This commit is contained in:
Florian Pellissier
2024-08-07 23:53:34 +02:00
committed by tvinagre
parent 95efda0423
commit 1f9fe8d583
2 changed files with 24 additions and 19 deletions

View File

@@ -162,7 +162,7 @@ class TestRunner:
tycho_balance = int(balance_hex)
token_balances[comp_id][token] = tycho_balance
if self.config.skip_balance_check is not True:
if not self.config.skip_balance_check:
node_balance = get_token_balance(token, comp_id, stop_block)
if node_balance != tycho_balance:
return TestResult.Failed(