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
f6326fe2
Unverified
Commit
f6326fe2
authored
Apr 05, 2024
by
Barnabas Busa
Committed by
GitHub
Apr 05, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: remove un-needed prysm vc check (#542)
parent
a1ae7081
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
12 deletions
+5
-12
prysm.star
src/vc/prysm.star
+5
-5
vc_launcher.star
src/vc/vc_launcher.star
+0
-7
No files found.
src/vc/prysm.star
View file @
f6326fe2
...
...
@@ -36,16 +36,11 @@ def get_config(
prysm_password_relative_filepath,
)
if cl_context.client_name != constants.CL_TYPE.prysm:
beacon_grpc_url = beacon_http_url[7:] # remove the "http://" prefix
cmd = [
"--accept-terms-of-use=true", # it's mandatory in order to run the node
"--chain-config-file="
+ constants.GENESIS_CONFIG_MOUNT_PATH_ON_CONTAINER
+ "/config.yaml",
"--beacon-rpc-provider=" + cl_context.beacon_grpc_url,
"--beacon-rest-api-provider=" + cl_context.beacon_grpc_url,
"--wallet-dir=" + validator_keys_dirpath,
"--wallet-password-file=" + validator_secrets_dirpath,
"--suggested-fee-recipient=" + constants.VALIDATING_REWARDS_ACCOUNT,
...
...
@@ -70,7 +65,12 @@ def get_config(
]
if cl_context.client_name != constants.CL_TYPE.prysm:
cmd.append("--beacon-rpc-provider=" + beacon_http_url)
cmd.append("--beacon-rest-api-provider=" + beacon_http_url)
cmd.append("--enable-beacon-rest-api")
else: # we are using Prysm CL
cmd.append("--beacon-rpc-provider=" + cl_context.beacon_grpc_url)
cmd.append("--beacon-rest-api-provider=" + cl_context.beacon_grpc_url)
if len(extra_params) > 0:
# this is a repeated<proto type>, we convert it into Starlark
...
...
src/vc/vc_launcher.star
View file @
f6326fe2
...
...
@@ -161,13 +161,6 @@ def launch(
keymanager_enabled=keymanager_enabled,
)
elif vc_type == constants.VC_TYPE.prysm:
# Prysm VC only works with Prysm beacon node right now
if cl_context.client_name != constants.CL_TYPE.prysm:
fail(
cl_context.client_name
+ "Prysm VC is only compatible with Prysm beacon node"
)
config = prysm.get_config(
el_cl_genesis_data=launcher.el_cl_genesis_data,
image=image,
...
...
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