@@ -91,6 +91,7 @@ TOOLS_CSV := $(subst $(SPACE),$(COMMA),$(TOOLS))
9191 test \
9292 clean \
9393 libbacktrace \
94+ boringssl-win64 \
9495 book \
9596 publish-book \
9697 dist-amd64 \
@@ -164,7 +165,7 @@ ifeq ($(USE_LIBBACKTRACE), 0)
164165NIM_PARAMS += -d:disable_libbacktrace
165166endif
166167
167- deps : | deps-common nat-libs build/generate_makefile
168+ deps : | deps-common nat-libs build/generate_makefile boringssl-win64
168169ifneq ($(USE_LIBBACKTRACE ) , 0)
169170deps : | libbacktrace
170171endif
@@ -178,6 +179,9 @@ update: | update-common
178179libbacktrace :
179180 + " $( MAKE) " -C vendor/nim-libbacktrace --no-print-directory BUILD_CXX_LIB=0
180181
182+ boringssl-win64 :
183+ + " $( MAKE) " -C vendor/nim-lsquic
184+
181185# Make sure ports don't overlap to support concurrent execution of tests
182186# Avoid selecting ephemeral ports that may be used by others; safe = 5001-9999
183187# - Port 8301 is used by Consul
@@ -193,11 +197,13 @@ libbacktrace:
193197#
194198# REST tests:
195199# - --base-port (REST_TEST_BASE_PORT + 0)
196- # - --base-rest-port (REST_TEST_BASE_PORT + 1)
197- # - --base-metrics-port (REST_TEST_BASE_PORT + 2)
200+ # - debug-quic-port (REST_TEST_BASE_PORT + 1)
201+ # - --base-rest-port (REST_TEST_BASE_PORT + 2)
202+ # - --base-metrics-port (REST_TEST_BASE_PORT + 3)
198203#
199204# Local testnets (entire continuous range):
200205# - --base-port + [0, --nodes + --light-clients)
206+ # - debug-quic-port uses (--base-port + 1) + [0, --nodes + --light-clients)
201207# - --base-rest-port + [0, --nodes)
202208# - --base-metrics-port + [0, --nodes)
203209# - --base-vc-keymanager-port + [0, --nodes)
@@ -218,9 +224,9 @@ MAINNET_TESTNET_BASE_PORT := 26501
218224restapi-test :
219225 ./tests/simulation/restapi.sh \
220226 --data-dir resttest0_data \
221- --base-port $$(( $(REST_TEST_BASE_PORT ) + EXECUTOR_NUMBER * 3 + 0 ) ) \
222- --base-rest-port $$(( $(REST_TEST_BASE_PORT ) + EXECUTOR_NUMBER * 3 + 1 ) ) \
223- --base-metrics-port $$(( $(REST_TEST_BASE_PORT ) + EXECUTOR_NUMBER * 3 + 2 ) ) \
227+ --base-port $$(( $(REST_TEST_BASE_PORT ) + EXECUTOR_NUMBER * 4 + 0 ) ) \
228+ --base-rest-port $$(( $(REST_TEST_BASE_PORT ) + EXECUTOR_NUMBER * 4 + 2 ) ) \
229+ --base-metrics-port $$(( $(REST_TEST_BASE_PORT ) + EXECUTOR_NUMBER * 4 + 3 ) ) \
224230 --resttest-delay 30 \
225231 --kill-old-processes
226232
@@ -452,7 +458,7 @@ build/generate_makefile: tools/generate_makefile.nim | deps-common
452458$(filter-out $(TOOLS_CORE_CUSTOMCOMPILE ) ,$(TOOLS ) ) : | build deps
453459 + for D in $( TOOLS_DIRS) ; do [ -e " $$ {D}/$@ .nim" ] && TOOL_DIR=" $$ {D}" && break ; done && \
454460 echo -e $(BUILD_MSG ) " build/$@ " && \
455- MAKE=" $( MAKE) " V=" $( V ) " $(ENV_SCRIPT ) scripts/compile_nim_program.sh $@ " $$ {TOOL_DIR}/$@ .nim" $(NIM_PARAMS ) && \
461+ MAKE=" $( MAKE) " V=1 $(ENV_SCRIPT ) scripts/compile_nim_program.sh $@ " $$ {TOOL_DIR}/$@ .nim" $(NIM_PARAMS ) && \
456462 echo -e $(BUILD_END_MSG ) " build/$@ "
457463
458464# Windows GitHub Actions CI runners, as of this writing, have around 8GB of RAM
@@ -500,6 +506,8 @@ nimbus_beacon_node: force_build_alone_tools
500506
501507GOERLI_TESTNETS_PARAMS := \
502508 --tcp-port=$$(( $(BASE_PORT ) + $(NODE_ID ) ) ) \
509+ --debug-quic=true \
510+ --debug-quic-port=$$(( $(BASE_PORT ) + $(NODE_ID ) + 1 ) ) \
503511 --udp-port=$$(( $(BASE_PORT ) + $(NODE_ID ) ) ) \
504512 --metrics \
505513 --metrics-port=$$(( $(BASE_METRICS_PORT ) + $(NODE_ID ) ) ) \
0 commit comments