refactor(substreams-testing): Use Pydantic to deserialize test_assets.yaml

This commit is contained in:
Florian Pellissier
2024-08-06 13:32:58 +02:00
committed by tvinagre
parent 09d266a810
commit 95efda0423
10 changed files with 365 additions and 233 deletions

View File

@@ -82,11 +82,14 @@ class TychoRunner:
"--stop-block",
# +2 is to make up for the cache in the index side.
str(end_block + 2),
"--initialization-block",
str(start_block),
]
+ (
["--initialized-accounts", ",".join(all_accounts)]
[
"--initialized-accounts",
",".join(all_accounts),
"--initialization-block",
str(start_block),
]
if all_accounts
else []
),