Move network features out of ethUtils

This commit is contained in:
Francois Beutin
2024-01-15 18:48:48 +01:00
parent 82d776f771
commit 04d0fde47a
8 changed files with 39 additions and 37 deletions

View File

@@ -90,7 +90,7 @@ def main(output_dir: str) -> bool:
# get chain IDs and network names
expr = r"{\.chain_id = ([0-9]*), \.name = \"(.*)\", \.ticker = \"(.*)\"},"
with open("src_common/network.c") as f:
with open("src/network.c") as f:
for line in f.readlines():
line = line.strip()
if line.startswith("{") and line.endswith("},"):