Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

feat: add service_name to the el client context #53

Merged
merged 3 commits into from
Jul 14, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/el/besu/besu_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ def launch(
WS_PORT_NUM,
ENGINE_HTTP_RPC_PORT_NUM,
jwt_secret,
service_name
)


Expand Down
3 changes: 2 additions & 1 deletion src/el/el_client_context.star
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
def new_el_client_context(client_name, enr, enode, ip_addr, rpc_port_num, ws_port_num, engine_rpc_port_num, jwt_secret):
def new_el_client_context(client_name, enr, enode, ip_addr, rpc_port_num, ws_port_num, engine_rpc_port_num, jwt_secret, service_name = ""):
h4ck3rk3y marked this conversation as resolved.
Show resolved Hide resolved
return struct(
service_name = service_name,
client_name = client_name,
enr = enr,
enode = enode,
Expand Down
3 changes: 2 additions & 1 deletion src/el/erigon/erigon_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ def launch(
RPC_PORT_NUM,
WS_PORT_NUM,
ENGINE_RPC_PORT_NUM,
jwt_secret
jwt_secret,
service_name
)


Expand Down
1 change: 1 addition & 0 deletions src/el/geth/geth_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ def launch(
WS_PORT_NUM,
ENGINE_RPC_PORT_NUM,
jwt_secret,
service_name,
)

def get_config(network_id, genesis_data, prefunded_geth_keys_artifact_uuid, prefunded_account_info, image, existing_el_clients, verbosity_level, extra_params):
Expand Down
3 changes: 2 additions & 1 deletion src/el/nethermind/nethermind_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ def launch(
RPC_PORT_NUM,
WS_PORT_NUM,
ENGINE_RPC_PORT_NUM,
jwt_secret
jwt_secret,
service_name
)


Expand Down