Skip to content

Commit

Permalink
fix genesis_validators_root
Browse files Browse the repository at this point in the history
  • Loading branch information
barnabasbusa committed Dec 5, 2023
1 parent 175c23e commit 9736668
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,12 @@ def generate_el_cl_genesis_data(
wait=None,
)

# this is super hacky lmao
genesis_validators_root = plan.run_python(
run="""
with open("/data/data/custom_config_data/genesis_validators_root.txt") as genesis_root:
print(genesis_root.read().strip(), end="")
""",
genesis_validators_root = plan.run_sh(
run="cat /data/data/custom_config_data/genesis_validators_root.txt",
files={"/data": genesis.files_artifacts[0]},
store=[StoreSpec(src="/tmp", name="genesis-validators-root")],
wait=None,
)

result = el_cl_genesis_data.new_el_cl_genesis_data(
genesis.files_artifacts[0], genesis_validators_root.output
)
Expand Down

0 comments on commit 9736668

Please sign in to comment.