Skip to content

Commit

Permalink
fix: genesis validators root had an extra new line (#326)
Browse files Browse the repository at this point in the history
was running into the same bug as a few months ago -
flashbots/mev-boost-relay#507
  • Loading branch information
h4ck3rk3y committed Oct 20, 2023
1 parent 605e155 commit 4fa4937
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,11 @@ def generate_el_cl_genesis_data(
)

# this is super hacky lmao
genesis_validators_root = plan.run_sh(
run="cat /data/data/custom_config_data/genesis_validators_root.txt",
image="busybox",
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="")
""",
files={"/data": genesis.files_artifacts[0]},
wait=None,
)
Expand Down

0 comments on commit 4fa4937

Please sign in to comment.