Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ethereum-package
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
ethereum-package
Commits
6cee1ddc
Commit
6cee1ddc
authored
Nov 22, 2022
by
Gyanendra Mishra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
done with pariticpant
parent
25c1c3a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
21 deletions
+21
-21
participant_network.star
src/participant_network/participant_network.star
+21
-21
No files found.
src/participant_network/participant_network.star
View file @
6cee1ddc
...
@@ -6,20 +6,20 @@ mev_boost_launcher_module = ("github.com/kurtosis-tech/eth2-module/src/participa
...
@@ -6,20 +6,20 @@ mev_boost_launcher_module = ("github.com/kurtosis-tech/eth2-module/src/participa
static_files = import_module("github.com/kurtosis-tech/eth2-module/src/static_files/static_files.star")
static_files = import_module("github.com/kurtosis-tech/eth2-module/src/static_files/static_files.star")
load("github.com/kurtosis-tech/eth2-module/src/participant_network/el/geth/geth_launcher.star", launch_geth="launch", "new_geth_launche
r")
geth = import_module("github.com/kurtosis-tech/eth2-module/src/participant_network/el/geth/geth_launcher.sta
r")
load("github.com/kurtosis-tech/eth2-module/src/participant_network/el/besu/besu_launcher.star", launch_besu="launch", "new_besu_launche
r")
besu = import_module("github.com/kurtosis-tech/eth2-module/src/participant_network/el/besu/besu_launcher.sta
r")
load("github.com/kurtosis-tech/eth2-module/src/participant_network/el/erigon/erigon_launcher.star", launch_erigon="launch", "new_erigon_launche
r")
erigon = import_module("github.com/kurtosis-tech/eth2-module/src/participant_network/el/erigon/erigon_launcher.sta
r")
load("github.com/kurtosis-tech/eth2-module/src/participant_network/el/nethermind/nethermind_launcher.star", launch_nethermind="launch", "new_nethermind_launche
r")
nethermind = import_module("github.com/kurtosis-tech/eth2-module/src/participant_network/el/nethermind/nethermind_launcher.sta
r")
l
oad("github.com/kurtosis-tech/eth2-module/src/participant_network/cl/lighthouse/lighthouse_launcher.star", launch_lighthouse="launch", "new_lighthouse_launche
r")
l
ighthouse = import_module("github.com/kurtosis-tech/eth2-module/src/participant_network/cl/lighthouse/lighthouse_launcher.sta
r")
lo
ad("github.com/kurtosis-tech/eth2-module/src/participant_network/cl/lodestar/lodestar_launcher.star", launch_lodestar="launch", "new_lodestar_launche
r")
lo
destar = import_module("github.com/kurtosis-tech/eth2-module/src/participant_network/cl/lodestar/lodestar_launcher.sta
r")
load("github.com/kurtosis-tech/eth2-module/src/participant_network/cl/nimbus/nimbus_launcher.star", launch_nimbus="launch", "new_nimbus_launche
r")
nimbus = import_module("github.com/kurtosis-tech/eth2-module/src/participant_network/cl/nimbus/nimbus_launcher.sta
r")
load("github.com/kurtosis-tech/eth2-module/src/participant_network/cl/prysm/prysm_launcher.star", launch_prysm="launch", "new_prysm_launche
r")
prysm = import_module("github.com/kurtosis-tech/eth2-module/src/participant_network/cl/prysm/prysm_launcher.sta
r")
load("github.com/kurtosis-tech/eth2-module/src/participant_network/cl/teku/teku_launcher.star", launch_teku="launch", "new_teku_launche
r")
teku = import_module("github.com/kurtosis-tech/eth2-module/src/participant_network/cl/teku/teku_launcher.sta
r")
load("github.com/kurtosis-tech/eth2-module/src/participant_network/prelaunch_data_generator/genesis_constants/genesis_constants.star", "PRE_FUNDED_ACCOUNTS
")
genesis_constants = import_module("github.com/kurtosis-tech/eth2-module/src/participant_network/prelaunch_data_generator/genesis_constants/genesis_constants.star
")
load("github.com/kurtosis-tech/eth2-module/src/participant_network/participant.star", "new_participant
")
participant_module = load("github.com/kurtosis-tech/eth2-module/src/participant_network/participant.star
")
module_io = import_types("github.com/kurtosis-tech/eth2-module/types.proto")
module_io = import_types("github.com/kurtosis-tech/eth2-module/types.proto")
...
@@ -78,10 +78,10 @@ def launch_participant_network(participants, network_params, global_log_level):
...
@@ -78,10 +78,10 @@ def launch_participant_network(participants, network_params, global_log_level):
print("Uploaded GETH files succesfully, launching EL participants")
print("Uploaded GETH files succesfully, launching EL participants")
el_launchers = {
el_launchers = {
module_io.ELClientType.geth : {"launcher":
new_geth_launcher(network_params.network_id, el_genesis_data, geth_prefunded_keys_artifact_id, PRE_FUNDED_ACCOUNTS), "launch_method": launch_get
h},
module_io.ELClientType.geth : {"launcher":
geth.new_geth_launcher(network_params.network_id, el_genesis_data, geth_prefunded_keys_artifact_id, genesis_constants.PRE_FUNDED_ACCOUNTS), "launch_method": geth.launc
h},
module_io.ELClientType.besu : {"launcher":
new_besu_launcher(network_params.network_id, el_genesis_data), "launch_method": launch_besu
},
module_io.ELClientType.besu : {"launcher":
besu.new_besu_launcher(network_params.network_id, el_genesis_data), "launch_method": besu.launch
},
module_io.ELClientType.erigon : {"launcher":
new_erigon_launcher(network_params.network_id, el_genesis_data), "launch_method": launch_erigon
},
module_io.ELClientType.erigon : {"launcher":
erigon.new_erigon_launcher(network_params.network_id, el_genesis_data), "launch_method": erigon.launch
},
module_io.ELClientType.nethermind : {"launcher": ne
w_nethermind_launcher(el_genesis_data), "launch_method": launch_nethermind
},
module_io.ELClientType.nethermind : {"launcher": ne
thermind.new_nethermind_launcher(el_genesis_data), "launch_method": nethermind.launch
},
}
}
all_el_client_contexts = []
all_el_client_contexts = []
...
@@ -136,11 +136,11 @@ def launch_participant_network(participants, network_params, global_log_level):
...
@@ -136,11 +136,11 @@ def launch_participant_network(participants, network_params, global_log_level):
print("Launching CL network")
print("Launching CL network")
cl_launchers = {
cl_launchers = {
module_io.CLClientType.lighthouse : {"launcher":
new_lighthouse_launcher(cl_genesis_data), "launch_method": launch_lighthouse
},
module_io.CLClientType.lighthouse : {"launcher":
lighthouse.new_lighthouse_launcher(cl_genesis_data), "launch_method": lighthouse.launch
},
module_io.CLClientType.lodestar: {"launcher":
new_lodestar_launcher(cl_genesis_data), "launch_method": launch_lodestar
},
module_io.CLClientType.lodestar: {"launcher":
lodestar.new_lodestar_launcher(cl_genesis_data), "launch_method": lodestar.launch
},
module_io.CLClientType.nimbus: {"launcher": n
ew_nimbus_launcher(cl_genesis_data), "launch_method": launch_nimbus
},
module_io.CLClientType.nimbus: {"launcher": n
imbus.new_nimbus_launcher(cl_genesis_data), "launch_method": nimbus.launch
},
module_io.CLClientType.prysm: {"launcher":
new_prysm_launcher(cl_genesis_data, cl_validator_data.prysm_password_relative_filepath, cl_validator_data.prysm_password_artifact_uuid), "launch_method": launch_prysm
},
module_io.CLClientType.prysm: {"launcher":
prysm.new_prysm_launcher(cl_genesis_data, cl_validator_data.prysm_password_relative_filepath, cl_validator_data.prysm_password_artifact_uuid), "launch_method": prysm.launch
},
module_io.CLClientType.teku: {"launcher":
new_teku_launcher(cl_genesis_data), "launch_method": launch_teku
},
module_io.CLClientType.teku: {"launcher":
teku.new_teku_launcher(cl_genesis_data), "launch_method": teku.launch
},
}
}
all_cl_client_contexts = []
all_cl_client_contexts = []
...
@@ -215,7 +215,7 @@ def launch_participant_network(participants, network_params, global_log_level):
...
@@ -215,7 +215,7 @@ def launch_participant_network(participants, network_params, global_log_level):
cl_client_context = all_cl_client_contexts[index]
cl_client_context = all_cl_client_contexts[index]
mev_boost_context = all_mevboost_contexts[index]
mev_boost_context = all_mevboost_contexts[index]
participant_entry = new_participant(el_client_type, cl_client_type, el_client_context, cl_client_context, mev_boost_context)
participant_entry =
participant_module.
new_participant(el_client_type, cl_client_type, el_client_context, cl_client_context, mev_boost_context)
all_participants.append(participant_entry)
all_participants.append(participant_entry)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment