Skip to content

Commit e7c3ba3

Browse files
committed
Add p2p-quic-port to Prysm
1 parent aedd339 commit e7c3ba3

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

install/scripts/start-bn.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ if [ "$CC_CLIENT" = "prysm" ]; then
231231
--rpc-port ${BN_RPC_PORT:-5053} \
232232
--grpc-gateway-host 0.0.0.0 \
233233
--grpc-gateway-port ${BN_API_PORT:-5052} \
234+
--p2p-quic-port ${BN_P2P_QUIC_PORT:-8001} \
234235
--eth1-header-req-limit 150 \
235236
--jwt-secret=/secrets/jwtsecret \
236237
--api-timeout 20s \

install/templates/eth2.tmpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ services:
1818
- "{{$p2p}}:{{$p2p}}/tcp"
1919
{{- if eq .ConsensusClient.String "lighthouse"}}
2020
- "{{.Lighthouse.P2pQuicPort}}:{{.Lighthouse.P2pQuicPort}}/udp"
21+
{{- else if eq .ConsensusClient.String "prysm"}}
22+
- "{{.Prysm.P2pQuicPort}}:{{.Prysm.P2pQuicPort}}/udp"
2123
{{- end}}
2224
{{- range $entry := .GetBnOpenPorts}}
2325
- "{{$entry}}"
@@ -64,6 +66,7 @@ services:
6466
- TEKU_ARCHIVE_MODE={{.Teku.ArchiveMode}}
6567
{{- else if eq .ConsensusClient.String "prysm"}}
6668
- BN_RPC_PORT={{.Prysm.RpcPort}}
69+
- BN_P2P_QUIC_PORT={{.Prysm.P2pQuicPort}}
6770
{{- else if eq .ConsensusClient.String "nimbus"}}
6871
- NIMBUS_PRUNING_MODE={{.Nimbus.PruningMode}}
6972
{{- else if eq .ConsensusClient.String "lighthouse"}}

0 commit comments

Comments
 (0)