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
c5d40289
Unverified
Commit
c5d40289
authored
Apr 02, 2024
by
Barnabas Busa
Committed by
GitHub
Apr 02, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: disable static peers (#529)
parent
ad7773e8
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
3 additions
and
39 deletions
+3
-39
lighthouse_launcher.star
src/cl/lighthouse/lighthouse_launcher.star
+0
-9
nimbus_launcher.star
src/cl/nimbus/nimbus_launcher.star
+0
-1
prysm_launcher.star
src/cl/prysm/prysm_launcher.star
+0
-1
teku_launcher.star
src/cl/teku/teku_launcher.star
+0
-9
erigon_launcher.star
src/el/erigon/erigon_launcher.star
+0
-15
nethermind_launcher.star
src/el/nethermind/nethermind_launcher.star
+2
-3
constants.star
src/package_io/constants.star
+1
-1
No files found.
src/cl/lighthouse/lighthouse_launcher.star
View file @
c5d40289
...
@@ -317,15 +317,6 @@ def get_beacon_config(
...
@@ -317,15 +317,6 @@ def get_beacon_config(
]
]
)
)
)
)
cmd.append(
"--trusted-peers="
+ ",".join(
[
ctx.peer_id
for ctx in boot_cl_client_ctxs[: constants.MAX_ENR_ENTRIES]
]
)
)
elif network == constants.NETWORK_NAME.ephemery:
elif network == constants.NETWORK_NAME.ephemery:
cmd.append(
cmd.append(
"--checkpoint-sync-url=" + constants.CHECKPOINT_SYNC_URL[network]
"--checkpoint-sync-url=" + constants.CHECKPOINT_SYNC_URL[network]
...
...
src/cl/nimbus/nimbus_launcher.star
View file @
c5d40289
...
@@ -329,7 +329,6 @@ def get_beacon_config(
...
@@ -329,7 +329,6 @@ def get_beacon_config(
else:
else:
for ctx in bootnode_contexts[: constants.MAX_ENR_ENTRIES]:
for ctx in bootnode_contexts[: constants.MAX_ENR_ENTRIES]:
cmd.append("--bootstrap-node=" + ctx.enr)
cmd.append("--bootstrap-node=" + ctx.enr)
cmd.append("--direct-peer=" + ctx.multiaddr)
if len(extra_params) > 0:
if len(extra_params) > 0:
cmd.extend([param for param in extra_params])
cmd.extend([param for param in extra_params])
...
...
src/cl/prysm/prysm_launcher.star
View file @
c5d40289
...
@@ -274,7 +274,6 @@ def get_beacon_config(
...
@@ -274,7 +274,6 @@ def get_beacon_config(
):
):
if bootnode_contexts != None:
if bootnode_contexts != None:
for ctx in bootnode_contexts[: constants.MAX_ENR_ENTRIES]:
for ctx in bootnode_contexts[: constants.MAX_ENR_ENTRIES]:
cmd.append("--peer=" + ctx.multiaddr)
cmd.append("--bootstrap-node=" + ctx.enr)
cmd.append("--bootstrap-node=" + ctx.enr)
elif network == constants.NETWORK_NAME.ephemery:
elif network == constants.NETWORK_NAME.ephemery:
cmd.append(
cmd.append(
...
...
src/cl/teku/teku_launcher.star
View file @
c5d40289
...
@@ -335,15 +335,6 @@ def get_beacon_config(
...
@@ -335,15 +335,6 @@ def get_beacon_config(
]
]
)
)
)
)
cmd.append(
"--p2p-static-peers="
+ ",".join(
[
ctx.multiaddr
for ctx in bootnode_contexts[: constants.MAX_ENR_ENTRIES]
]
)
)
elif network == constants.NETWORK_NAME.ephemery:
elif network == constants.NETWORK_NAME.ephemery:
cmd.append(
cmd.append(
"--checkpoint-sync-url=" + constants.CHECKPOINT_SYNC_URL[network]
"--checkpoint-sync-url=" + constants.CHECKPOINT_SYNC_URL[network]
...
...
src/el/erigon/erigon_launcher.star
View file @
c5d40289
...
@@ -239,15 +239,6 @@ def get_config(
...
@@ -239,15 +239,6 @@ def get_config(
]
]
)
)
)
)
cmd.append(
"--staticpeers="
+ ",".join(
[
ctx.enode
for ctx in existing_el_clients[: constants.MAX_ENODE_ENTRIES]
]
)
)
elif network not in constants.PUBLIC_NETWORKS:
elif network not in constants.PUBLIC_NETWORKS:
cmd.append(
cmd.append(
"--bootnodes="
"--bootnodes="
...
@@ -255,12 +246,6 @@ def get_config(
...
@@ -255,12 +246,6 @@ def get_config(
plan, el_cl_genesis_data.files_artifact_uuid
plan, el_cl_genesis_data.files_artifact_uuid
)
)
)
)
cmd.append(
"--staticpeers="
+ shared_utils.get_devnet_enodes(
plan, el_cl_genesis_data.files_artifact_uuid
)
)
if len(extra_params) > 0:
if len(extra_params) > 0:
cmd.extend([param for param in extra_params])
cmd.extend([param for param in extra_params])
...
...
src/el/nethermind/nethermind_launcher.star
View file @
c5d40289
...
@@ -187,7 +187,6 @@ def get_config(
...
@@ -187,7 +187,6 @@ def get_config(
"--Network.DiscoveryPort={0}".format(DISCOVERY_PORT_NUM),
"--Network.DiscoveryPort={0}".format(DISCOVERY_PORT_NUM),
"--Network.P2PPort={0}".format(DISCOVERY_PORT_NUM),
"--Network.P2PPort={0}".format(DISCOVERY_PORT_NUM),
"--JsonRpc.JwtSecretFile=" + constants.JWT_MOUNT_PATH_ON_CONTAINER,
"--JsonRpc.JwtSecretFile=" + constants.JWT_MOUNT_PATH_ON_CONTAINER,
"--Network.OnlyStaticPeers=true",
"--Metrics.Enabled=true",
"--Metrics.Enabled=true",
"--Metrics.ExposePort={0}".format(METRICS_PORT_NUM),
"--Metrics.ExposePort={0}".format(METRICS_PORT_NUM),
"--Metrics.ExposeHost=0.0.0.0",
"--Metrics.ExposeHost=0.0.0.0",
...
@@ -216,7 +215,7 @@ def get_config(
...
@@ -216,7 +215,7 @@ def get_config(
):
):
if len(existing_el_clients) > 0:
if len(existing_el_clients) > 0:
cmd.append(
cmd.append(
"--
Network.StaticPeer
s="
"--
Discovery.Bootnode
s="
+ ",".join(
+ ",".join(
[
[
ctx.enode
ctx.enode
...
@@ -226,7 +225,7 @@ def get_config(
...
@@ -226,7 +225,7 @@ def get_config(
)
)
elif network not in constants.PUBLIC_NETWORKS:
elif network not in constants.PUBLIC_NETWORKS:
cmd.append(
cmd.append(
"--
Network.StaticPeer
s="
"--
Discovery.Bootnode
s="
+ shared_utils.get_devnet_enodes(
+ shared_utils.get_devnet_enodes(
plan, el_cl_genesis_data.files_artifact_uuid
plan, el_cl_genesis_data.files_artifact_uuid
)
)
...
...
src/package_io/constants.star
View file @
c5d40289
...
@@ -75,7 +75,7 @@ ELECTRA_FORK_VERSION = "0x60000038"
...
@@ -75,7 +75,7 @@ ELECTRA_FORK_VERSION = "0x60000038"
ETHEREUM_GENESIS_GENERATOR = struct(
ETHEREUM_GENESIS_GENERATOR = struct(
capella_genesis="ethpandaops/ethereum-genesis-generator:2.0.12", # Deprecated (no support for minimal config)
capella_genesis="ethpandaops/ethereum-genesis-generator:2.0.12", # Deprecated (no support for minimal config)
deneb_genesis="ethpandaops/ethereum-genesis-generator:3.0.
2
", # Default
deneb_genesis="ethpandaops/ethereum-genesis-generator:3.0.
3
", # Default
verkle_support_genesis="ethpandaops/ethereum-genesis-generator:3.0.0-rc.19", # soon to be deneb genesis, waiting for rebase
verkle_support_genesis="ethpandaops/ethereum-genesis-generator:3.0.0-rc.19", # soon to be deneb genesis, waiting for rebase
verkle_genesis="ethpandaops/ethereum-genesis-generator:verkle-gen-v1.0.0",
verkle_genesis="ethpandaops/ethereum-genesis-generator:verkle-gen-v1.0.0",
)
)
...
...
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