diff --git a/src/participant_network.star b/src/participant_network.star index b4b30dbc0..058163304 100644 --- a/src/participant_network.star +++ b/src/participant_network.star @@ -79,15 +79,17 @@ def launch_participant_network( if ( constants.NETWORK_NAME.shadowfork in network_params.network ): # shadowfork requires some preparation - network_name = network_params.network.split("-shadowfork")[ + base_network = network_params.network.split("-shadowfork")[ 0 ] # overload the network name to remove the shadowfork suffix network_id = constants.NETWORK_ID[ - network_name + base_network ] # overload the network id to match the network name latest_block = plan.run_sh( # fetch the latest block run="mkdir -p /shadowfork && \ - curl -o /shadowfork/latest_block.json https://ethpandaops-ethereum-node-snapshots.ams3.digitaloceanspaces.com/holesky/geth/latest/latest_snapshot_block.json", + curl -o /shadowfork/latest_block.json https://ethpandaops-ethereum-node-snapshots.ams3.digitaloceanspaces.com/" + + base_network + + "/geth/latest/latest_snapshot_block.json", image="badouralix/curl-jq", store=[StoreSpec(src="/shadowfork", name="latest_blocks")], )