From b42ed9fb8e6cb7ca44f37373f02da2ca4b424de2 Mon Sep 17 00:00:00 2001 From: Tan Chee Keong Date: Wed, 13 May 2026 09:49:29 +0800 Subject: [PATCH 1/3] address issue --- operator/Dockerfile | 2 ++ operator/entrypoint.sh | 4 ++++ package_variants/hoodi/docker-compose.yml | 4 ++-- package_variants/mainnet/docker-compose.yml | 4 ++-- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/operator/Dockerfile b/operator/Dockerfile index 04b5f76..dc92af4 100644 --- a/operator/Dockerfile +++ b/operator/Dockerfile @@ -4,9 +4,11 @@ FROM sigp/anchor:${UPSTREAM_VERSION} ARG NETWORK ARG P2P_PORT +ARG QUIC_PORT ARG STAKER_SCRIPTS_VERSION ENV P2P_PORT=${P2P_PORT} \ + QUIC_PORT=${QUIC_PORT} \ HTTP_PORT=5062 \ STAKER_SCRIPTS_URL=https://github.com/dappnode/staker-package-scripts/releases/download/${STAKER_SCRIPTS_VERSION} diff --git a/operator/entrypoint.sh b/operator/entrypoint.sh index bf2b2f5..49f927c 100755 --- a/operator/entrypoint.sh +++ b/operator/entrypoint.sh @@ -59,6 +59,10 @@ FLAGS="--network=${NETWORK} \ --metrics-address=0.0.0.0 \ --metrics-port=5164 \ --port=${P2P_PORT} \ + --quic-port=${QUIC_PORT} \ + --enr-udp-port=${P2P_PORT} \ + --enr-tcp-port=${P2P_PORT} \ + --enr-quic-port=${QUIC_PORT} \ --password-file=${PASSWORD_FILE_PATH} \ $KEY_FILE $EXTRA_OPTS" diff --git a/package_variants/hoodi/docker-compose.yml b/package_variants/hoodi/docker-compose.yml index b909bc4..50ecf96 100644 --- a/package_variants/hoodi/docker-compose.yml +++ b/package_variants/hoodi/docker-compose.yml @@ -4,8 +4,8 @@ services: args: NETWORK: hoodi P2P_PORT: 9102 + QUIC_PORT: 9103 ports: - "9102:9102/tcp" - "9102:9102/udp" - environment: - CORSDOMAIN: "http://anchor-hoodi.dappnode" + - "9103:9103/udp" diff --git a/package_variants/mainnet/docker-compose.yml b/package_variants/mainnet/docker-compose.yml index 53d2055..23a81fe 100644 --- a/package_variants/mainnet/docker-compose.yml +++ b/package_variants/mainnet/docker-compose.yml @@ -4,8 +4,8 @@ services: args: NETWORK: mainnet P2P_PORT: 9100 + QUIC_PORT: 9101 ports: - "9100:9100/tcp" - "9100:9100/udp" - environment: - CORSDOMAIN: "http://anchor.dappnode" + - "9101:9101/udp" From 75cacfdb290acc22174fd2eb3c981e29d3ee0f9c Mon Sep 17 00:00:00 2001 From: Tan Chee Keong Date: Thu, 14 May 2026 08:03:28 +0800 Subject: [PATCH 2/3] revise --- setup-wizard.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup-wizard.yml b/setup-wizard.yml index d7a244b..1cf98eb 100644 --- a/setup-wizard.yml +++ b/setup-wizard.yml @@ -35,7 +35,7 @@ fields: description: | Enter the password for the existing private key inputType: password - required: false + required: true if: { "setup-mode": { "enum": ["Import Operator"] } } - id: new-private-key-password From 84ed6f9f8782e6725392de4985eca93421bf4089 Mon Sep 17 00:00:00 2001 From: Tan Chee Keong Date: Thu, 14 May 2026 08:05:30 +0800 Subject: [PATCH 3/3] revert --- setup-wizard.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup-wizard.yml b/setup-wizard.yml index 1cf98eb..d7a244b 100644 --- a/setup-wizard.yml +++ b/setup-wizard.yml @@ -35,7 +35,7 @@ fields: description: | Enter the password for the existing private key inputType: password - required: true + required: false if: { "setup-mode": { "enum": ["Import Operator"] } } - id: new-private-key-password