Skip to content

Commit

Permalink
Merge branch 'main' into bbusa/devnets
Browse files Browse the repository at this point in the history
  • Loading branch information
barnabasbusa authored Dec 5, 2023
2 parents f5ae3b2 + 8959fc8 commit e56f559
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/participant_network.star
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def launch_participant_network(
elif network_params.electra_fork_epoch != None:
if network_params.electra_fork_epoch == 0:
ethereum_genesis_generator_image = (
"ethpandaops/ethereum-genesis-generator:4.0.0-rc.1"
"ethpandaops/ethereum-genesis-generator:4.0.0-rc.2"
)
else:
ethereum_genesis_generator_image = (
Expand Down
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 e56f559

Please sign in to comment.