From bce53c6cbe45f12d149ade4dccea78c64523d56a Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Sun, 31 May 2026 14:13:15 +0000 Subject: [PATCH 1/2] config: expose Discv5 UDP port 9200 in docker-compose --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index c88064344..655d75b64 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,6 +10,7 @@ services: - "7301:6060" # metrics - "30303:30303" # P2P TCP - "30303:30303/udp" # P2P UDP + - "9200:9200/udp" # P2P Discovery v5 command: ["bash", "./execution-entrypoint"] volumes: - ${HOST_DATA_DIR:-./reth-data}:/data From ea6a6c0010c202238cbfd3cf0526a2f9187c0f14 Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Sun, 31 May 2026 20:19:37 +0000 Subject: [PATCH 2/2] fix: correct RETH_PRUNING_ARGS condition logic The previous condition '' returns 'x' when the variable is unset, making the check TRUE when it should be FALSE, and vice versa. The correct check is '-n' to test whether the variable is non-empty. --- execution-entrypoint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/execution-entrypoint b/execution-entrypoint index cea226016..de084ddf3 100755 --- a/execution-entrypoint +++ b/execution-entrypoint @@ -68,7 +68,7 @@ wait_for_pid() { } # Add pruning for base -if [[ "${RETH_PRUNING_ARGS+x}" = x ]]; then +if [[ -n "${RETH_PRUNING_ARGS:-}" ]]; then echo "Adding pruning arguments: $RETH_PRUNING_ARGS" ADDITIONAL_ARGS="$ADDITIONAL_ARGS $RETH_PRUNING_ARGS" fi