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
b62ed6f1
Unverified
Commit
b62ed6f1
authored
Apr 02, 2024
by
Barnabas Busa
Committed by
GitHub
Apr 02, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: beaconchain explorer (#531)
parent
72ddeb25
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
8 deletions
+16
-8
full_beaconchain_launcher.star
src/full_beaconchain/full_beaconchain_launcher.star
+16
-8
No files found.
src/full_beaconchain/full_beaconchain_launcher.star
View file @
b62ed6f1
...
@@ -147,8 +147,12 @@ def launch_full_beacon(
...
@@ -147,8 +147,12 @@ def launch_full_beacon(
)
)
redis_url = "{}:{}".format(redis_output.hostname, redis_output.port_number)
redis_url = "{}:{}".format(redis_output.hostname, redis_output.port_number)
cl_url = cl_contexts[0].beacon_http_url[7:] # Remove the "http://"
cl_port = cl_contexts[0].beacon_http_url.split(":")[2] # Get the port number
template_data = new_config_template_data(
template_data = new_config_template_data(
cl_contexts[0],
cl_url,
cl_port,
el_uri,
el_uri,
little_bigtable.ip_address,
little_bigtable.ip_address,
LITTLE_BIGTABLE_PORT_NUMBER,
LITTLE_BIGTABLE_PORT_NUMBER,
...
@@ -354,11 +358,19 @@ def launch_full_beacon(
...
@@ -354,11 +358,19 @@ def launch_full_beacon(
def new_config_template_data(
def new_config_template_data(
cl_node_info, el_uri, lbt_host, lbt_port, db_host, db_port, redis_url, frontend_port
cl_url,
cl_port,
el_uri,
lbt_host,
lbt_port,
db_host,
db_port,
redis_url,
frontend_port,
):
):
return {
return {
"CLNodeHost": cl_
node_info.ip_addr
,
"CLNodeHost": cl_
url
,
"CLNodePort": cl_
node_info.http_port_num
,
"CLNodePort": cl_
port
,
"ELNodeEndpoint": el_uri,
"ELNodeEndpoint": el_uri,
"LBTHost": lbt_host,
"LBTHost": lbt_host,
"LBTPort": lbt_port,
"LBTPort": lbt_port,
...
@@ -367,7 +379,3 @@ def new_config_template_data(
...
@@ -367,7 +379,3 @@ def new_config_template_data(
"RedisEndpoint": redis_url,
"RedisEndpoint": redis_url,
"FrontendPort": frontend_port,
"FrontendPort": frontend_port,
}
}
def new_cl_client_info(ip_addr, port_num, service_name):
return {"IPAddr": ip_addr, "PortNum": port_num, "Name": service_name}
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