Skip to content

Commit

Permalink
fix: explicitly set client contexts0
Browse files Browse the repository at this point in the history
  • Loading branch information
barnabasbusa committed Aug 29, 2024
1 parent 9416a86 commit 30017f2
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 683 deletions.
206 changes: 0 additions & 206 deletions src/cl/hildr/hildr_launcher.star

This file was deleted.

14 changes: 7 additions & 7 deletions src/cl/op-node/op_node_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@ def launch(
beacon_peer_id = response["extract.peer_id"]

return cl_context.new_cl_context(
"op-node",
beacon_node_enr,
beacon_service.ip_address,
beacon_http_port.number,
beacon_http_url,
None,
service_name,
client_name="op-node",
enr=beacon_node_enr,
ip_addr=beacon_service.ip_address,
http_port=beacon_http_port.number,
beacon_http_url=beacon_http_url,
cl_nodes_metrics_info=None,
beacon_service_name=service_name,
multiaddr=beacon_multiaddr,
peer_id=beacon_peer_id,
)
Expand Down
19 changes: 9 additions & 10 deletions src/el/op-besu/op_besu_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -119,16 +119,15 @@ def launch(
http_url = "http://{0}:{1}".format(service.ip_address, RPC_PORT_NUM)

return el_context.new_el_context(
"op-besu",
"", # besu has no ENR
enode,
service.ip_address,
RPC_PORT_NUM,
WS_PORT_NUM,
ENGINE_RPC_PORT_NUM,
http_url,
service_name,
[besu_metrics_info],
client_name="op-besu",
enode=enode,
ip_addr=service.ip_address,
rpc_port_num=RPC_PORT_NUM,
ws_port_num=WS_PORT_NUM,
engine_rpc_port_num=ENGINE_RPC_PORT_NUM,
rpc_http_url=http_url,
service_name=service_name,
el_metrics_info=[besu_metrics_info],
)


Expand Down
Loading

0 comments on commit 30017f2

Please sign in to comment.