Skip to content

Commit 4fa4937

Browse files
authored
fix: genesis validators root had an extra new line (#326)
was running into the same bug as a few months ago - flashbots/mev-boost-relay#507
1 parent 605e155 commit 4fa4937

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/prelaunch_data_generator/el_cl_genesis/el_cl_genesis_generator.star

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,11 @@ def generate_el_cl_genesis_data(
6464
)
6565

6666
# this is super hacky lmao
67-
genesis_validators_root = plan.run_sh(
68-
run="cat /data/data/custom_config_data/genesis_validators_root.txt",
69-
image="busybox",
67+
genesis_validators_root = plan.run_python(
68+
run="""
69+
with open("/data/data/custom_config_data/genesis_validators_root.txt") as genesis_root:
70+
print(genesis_root.read().strip(), end="")
71+
""",
7072
files={"/data": genesis.files_artifacts[0]},
7173
wait=None,
7274
)

0 commit comments

Comments
 (0)