Skip to content

Commit 81c1ee7

Browse files
authored
fix: prysm vc key manager ports (ethereum#639)
1 parent 3dcf888 commit 81c1ee7

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

.github/tests/mix-with-tools-minimal.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,16 @@ participants:
33
cl_type: teku
44
- el_type: geth
55
cl_type: prysm
6-
cl_extra_params: [--minimal-config=true]
7-
cl_image: ethpandaops/prysm-beacon-chain:develop-minimal
86
- el_type: erigon
97
cl_type: nimbus
10-
cl_image: ethpandaops/nimbus-eth2:unstable-minimal
118
- el_type: besu
129
cl_type: lighthouse
13-
cl_image: ethpandaops/lighthouse:unstable-minimal
1410
- el_type: reth
1511
cl_type: lodestar
16-
cl_extra_env_vars: { LODESTAR_PRESET: minimal }
17-
vc_extra_env_vars: { LODESTAR_PRESET: minimal }
1812
- el_type: geth
1913
cl_type: grandine
20-
cl_image: ethpandaops/grandine:develop-minimal
2114
network_params:
2215
preset: minimal
23-
seconds_per_slot: 6
2416
additional_services:
2517
- tx_spammer
2618
- blob_spammer

.github/tests/mix-with-tools.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ participants:
33
cl_type: teku
44
- el_type: nethermind
55
cl_type: prysm
6-
cl_image: ethpandaops/prysm-beacon-chain:webfix
76
- el_type: erigon
87
cl_type: nimbus
98
- el_type: besu

src/vc/prysm.star

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ vc_shared = import_module("./shared.star")
44

55
PRYSM_PASSWORD_MOUNT_DIRPATH_ON_SERVICE_CONTAINER = "/prysm-password"
66
PRYSM_BEACON_RPC_PORT = 4000
7+
VALIDATOR_GRPC_PORT_NUM = 7500
8+
VALDIATOR_GRPC_PORT_ID = "grpc"
9+
10+
EXTRA_PORTS = {
11+
VALDIATOR_GRPC_PORT_ID: shared_utils.new_port_spec(
12+
VALIDATOR_GRPC_PORT_NUM,
13+
shared_utils.TCP_PROTOCOL,
14+
shared_utils.HTTP_APPLICATION_PROTOCOL,
15+
)
16+
}
717

818

919
def get_config(
@@ -57,6 +67,8 @@ def get_config(
5767
"--rpc",
5868
"--rpc-port={0}".format(vc_shared.VALIDATOR_HTTP_PORT_NUM),
5969
"--rpc-host=0.0.0.0",
70+
"--grpc-gateway-port={0}".format(VALIDATOR_GRPC_PORT_NUM),
71+
"--grpc-gateway-host=0.0.0.0",
6072
"--keymanager-token-file=" + constants.KEYMANAGER_MOUNT_PATH_ON_CONTAINER,
6173
]
6274

@@ -85,6 +97,7 @@ def get_config(
8597
files[constants.KEYMANAGER_MOUNT_PATH_ON_CLIENTS] = keymanager_file
8698
cmd.extend(keymanager_api_cmd)
8799
ports.update(vc_shared.VALIDATOR_KEYMANAGER_USED_PORTS)
100+
ports.update(EXTRA_PORTS)
88101

89102
return ServiceConfig(
90103
image=image,

0 commit comments

Comments
 (0)