-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor!: merge eth-network-package onto eth2-package (#228)
Notes for reviewer - perhaps @leoporoli ? 1. src/el & src/cl & src/node_metrics_info & src/participant.star & src/participant_network.star & src/prelaunch_data_generator/ & src/snooper & static_files have just been lifted and shifted 2. constants is just a union of the two 3.⚠️ parse input is a best effort union of the two; needs some 👀 4. shared_utils.star is a best effort union of the two 5. package_io, shared_utils etc used to be at root level they have been shifted 6. eth-network-package has been changed to eth2-package throughout all `.star` files Pending after PR - perhaps @leeederek ? 1. Get the README's to make sense together 2. Get the run.gif over here?⚠️ Note to testers 1. Clone the package 2. Check out this PR 3. Run `kurtosis run .` with args of choice
- Loading branch information
Showing
46 changed files
with
5,671 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
def new_cl_client_context( | ||
client_name, | ||
enr, | ||
ip_addr, | ||
http_port_num, | ||
cl_nodes_metrics_info, | ||
beacon_service_name, | ||
validator_service_name="", | ||
multiaddr="", | ||
peer_id="", | ||
snooper_enabled=False, | ||
snooper_engine_context=None, | ||
): | ||
return struct( | ||
client_name=client_name, | ||
enr=enr, | ||
ip_addr=ip_addr, | ||
http_port_num=http_port_num, | ||
cl_nodes_metrics_info=cl_nodes_metrics_info, | ||
beacon_service_name=beacon_service_name, | ||
validator_service_name=validator_service_name, | ||
multiaddr=multiaddr, | ||
peer_id=peer_id, | ||
snooper_enabled=snooper_enabled, | ||
snooper_engine_context=snooper_engine_context, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
def get_ready_conditions(port_id): | ||
recipe = GetHttpRequestRecipe(endpoint="/eth/v1/node/health", port_id=port_id) | ||
|
||
ready_conditions = ReadyCondition( | ||
recipe=recipe, | ||
field="code", | ||
assertion="IN", | ||
target_value=[200, 206], | ||
timeout="15m", | ||
) | ||
|
||
return ready_conditions |
Oops, something went wrong.