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
4e69a4c0
Unverified
Commit
4e69a4c0
authored
Jun 03, 2024
by
Barnabas Busa
Committed by
GitHub
Jun 03, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add http url to el context (#656)
parent
6d2cdb69
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
22 additions
and
0 deletions
+22
-0
besu_launcher.star
src/el/besu/besu_launcher.star
+2
-0
el_context.star
src/el/el_context.star
+2
-0
erigon_launcher.star
src/el/erigon/erigon_launcher.star
+3
-0
ethereumjs_launcher.star
src/el/ethereumjs/ethereumjs_launcher.star
+3
-0
geth_launcher.star
src/el/geth/geth_launcher.star
+3
-0
nethermind_launcher.star
src/el/nethermind/nethermind_launcher.star
+3
-0
nimbus_launcher.star
src/el/nimbus-eth1/nimbus_launcher.star
+3
-0
reth_launcher.star
src/el/reth/reth_launcher.star
+3
-0
No files found.
src/el/besu/besu_launcher.star
View file @
4e69a4c0
...
...
@@ -146,6 +146,7 @@ def launch(
besu_metrics_info = node_metrics.new_node_metrics_info(
service_name, METRICS_PATH, metrics_url
)
http_url = "http://{0}:{1}".format(service.ip_address, RPC_PORT_NUM)
return el_context.new_el_context(
"besu",
...
...
@@ -155,6 +156,7 @@ def launch(
RPC_PORT_NUM,
WS_PORT_NUM,
ENGINE_HTTP_RPC_PORT_NUM,
http_url,
service_name,
[besu_metrics_info],
)
...
...
src/el/el_context.star
View file @
4e69a4c0
...
...
@@ -6,6 +6,7 @@ def new_el_context(
rpc_port_num,
ws_port_num,
engine_rpc_port_num,
rpc_http_url,
service_name="",
el_metrics_info=None,
):
...
...
@@ -18,5 +19,6 @@ def new_el_context(
rpc_port_num=rpc_port_num,
ws_port_num=ws_port_num,
engine_rpc_port_num=engine_rpc_port_num,
rpc_http_url=rpc_http_url,
el_metrics_info=el_metrics_info,
)
src/el/erigon/erigon_launcher.star
View file @
4e69a4c0
...
...
@@ -147,6 +147,8 @@ def launch(
service_name, METRICS_PATH, metrics_url
)
http_url = "http://{0}:{1}".format(service.ip_address, WS_RPC_PORT_NUM)
return el_context.new_el_context(
"erigon",
enr,
...
...
@@ -155,6 +157,7 @@ def launch(
WS_RPC_PORT_NUM,
WS_RPC_PORT_NUM,
ENGINE_RPC_PORT_NUM,
http_url,
service_name,
[erigon_metrics_info],
)
...
...
src/el/ethereumjs/ethereumjs_launcher.star
View file @
4e69a4c0
...
...
@@ -147,6 +147,8 @@ def launch(
# metrics_url = "http://{0}:{1}".format(service.ip_address, METRICS_PORT_NUM)
ethjs_metrics_info = None
http_url = "http://{0}:{1}".format(service.ip_address, RPC_PORT_NUM)
return el_context.new_el_context(
"ethereumjs",
"", # ethereumjs has no enr
...
...
@@ -155,6 +157,7 @@ def launch(
RPC_PORT_NUM,
WS_PORT_NUM,
ENGINE_RPC_PORT_NUM,
http_url,
service_name,
[ethjs_metrics_info],
)
...
...
src/el/geth/geth_launcher.star
View file @
4e69a4c0
...
...
@@ -163,6 +163,8 @@ def launch(
service_name, METRICS_PATH, metrics_url
)
http_url = "http://{0}:{1}".format(service.ip_address, RPC_PORT_NUM)
return el_context.new_el_context(
"geth",
enr,
...
...
@@ -171,6 +173,7 @@ def launch(
RPC_PORT_NUM,
WS_PORT_NUM,
ENGINE_RPC_PORT_NUM,
http_url,
service_name,
[geth_metrics_info],
)
...
...
src/el/nethermind/nethermind_launcher.star
View file @
4e69a4c0
...
...
@@ -144,6 +144,8 @@ def launch(
service_name, METRICS_PATH, metrics_url
)
http_url = "http://{0}:{1}".format(service.ip_address, RPC_PORT_NUM)
return el_context.new_el_context(
"nethermind",
"", # nethermind has no ENR in the eth2-merge-kurtosis-module either
...
...
@@ -153,6 +155,7 @@ def launch(
RPC_PORT_NUM,
WS_PORT_NUM,
ENGINE_RPC_PORT_NUM,
http_url,
service_name,
[nethermind_metrics_info],
)
...
...
src/el/nimbus-eth1/nimbus_launcher.star
View file @
4e69a4c0
...
...
@@ -146,6 +146,8 @@ def launch(
service_name, METRICS_PATH, metric_url
)
http_url = "http://{0}:{1}".format(service.ip_address, WS_RPC_PORT_NUM)
return el_context.new_el_context(
"nimbus",
"", # nimbus has no enr
...
...
@@ -154,6 +156,7 @@ def launch(
WS_RPC_PORT_NUM,
WS_RPC_PORT_NUM,
ENGINE_RPC_PORT_NUM,
http_url,
service_name,
[nimbus_metrics_info],
)
...
...
src/el/reth/reth_launcher.star
View file @
4e69a4c0
...
...
@@ -149,6 +149,8 @@ def launch(
service_name, METRICS_PATH, metric_url
)
http_url = "http://{0}:{1}".format(service.ip_address, RPC_PORT_NUM)
return el_context.new_el_context(
"reth",
"", # reth has no enr
...
...
@@ -157,6 +159,7 @@ def launch(
RPC_PORT_NUM,
WS_PORT_NUM,
ENGINE_RPC_PORT_NUM,
http_url,
service_name,
[reth_metrics_info],
)
...
...
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