Commit 4fa49375 authored by Gyanendra Mishra's avatar Gyanendra Mishra Committed by GitHub

fix: genesis validators root had an extra new line (#326)

was running into the same bug as a few months ago -
https://github.com/flashbots/mev-boost-relay/issues/507
parent 605e155e
...@@ -64,9 +64,11 @@ def generate_el_cl_genesis_data( ...@@ -64,9 +64,11 @@ def generate_el_cl_genesis_data(
) )
# this is super hacky lmao # this is super hacky lmao
genesis_validators_root = plan.run_sh( genesis_validators_root = plan.run_python(
run="cat /data/data/custom_config_data/genesis_validators_root.txt", run="""
image="busybox", 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]}, files={"/data": genesis.files_artifacts[0]},
wait=None, wait=None,
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment