@@ -131,16 +131,13 @@ VERIF_PROXY_OUT_PATH ?= build/libverifproxy/
131131ifeq ($(NIM_PARAMS ) ,)
132132# "variables.mk" was not included, so we update the submodules.
133133# selectively download nimbus-eth2 submodules because we don't need all of it's modules
134- # also holesky already exceeds github LFS quota
134+ # also hoodi already exceeds github LFS quota
135135
136- # We don't need these `vendor/holesky` files but fetching them
137- # may trigger 'This repository is over its data quota' from GitHub
138136GIT_SUBMODULE_CONFIG := -c lfs.fetchexclude=/public-keys/all.txt,/metadata/genesis.ssz,/parsed/parsedConsensusGenesis.json
139137
140138GIT_SUBMODULE_UPDATE := git -c submodule."vendor/nimbus-eth2".update=none submodule update --init --recursive; \
141139 git $(GIT_SUBMODULE_CONFIG ) submodule update vendor/nimbus-eth2; \
142140 cd vendor/nimbus-eth2; \
143- git $(GIT_SUBMODULE_CONFIG ) submodule update --init vendor/holesky; \
144141 git $(GIT_SUBMODULE_CONFIG ) submodule update --init vendor/sepolia; \
145142 git $(GIT_SUBMODULE_CONFIG ) submodule update --init vendor/hoodi; \
146143 git $(GIT_SUBMODULE_CONFIG ) submodule update --init vendor/gnosis-chain-configs; \
@@ -161,7 +158,7 @@ GIT_SUBMODULE_UPDATE := git -c submodule."vendor/nimbus-eth2".update=none submod
161158else # "variables.mk" was included. Business as usual until the end of this file.
162159
163160# default target, because it's the first one that doesn't start with '.'
164- all : | $(TOOLS ) nimbus_execution_client
161+ all : | $(TOOLS ) nimbus nimbus_execution_client
165162
166163# must be included after the default target
167164-include $(BUILD_SYSTEM_DIR ) /makefiles/targets.mk
@@ -218,8 +215,9 @@ nimbus_execution_client: | build deps rocksdb
218215check_revision : nimbus_execution_client
219216 scripts/check_revision.sh
220217
221- nimbus : nimbus_execution_client
222- echo " The nimbus target is deprecated and will soon change meaning, use 'nimbus_execution_client' instead"
218+ nimbus : | build deps rocksdb
219+ echo -e $(BUILD_MSG ) " build/nimbus" && \
220+ $(ENV_SCRIPT ) nim c $(NIM_PARAMS ) -d:chronicles_log_level=TRACE -o:build/nimbus " execution_chain/nimbus.nim"
223221
224222# symlink
225223nimbus.nims :
@@ -290,20 +288,16 @@ portal-test-reproducibility:
290288 [ " $$ MD5SUM1" = " $$ MD5SUM2" ] && echo -e " \e[92mSuccess: identical binaries.\e[39m" || \
291289 { echo -e " \e[91mFailure: the binary changed between builds.\e[39m" ; exit 1; }
292290
293- # Portal tests
294- all_eth_history_custom_chain_tests : | build deps
295- echo -e $(BUILD_MSG ) " build/$@ " && \
296- $(ENV_SCRIPT ) nim c -r $(NIM_PARAMS ) -d:chronicles_log_level=ERROR -d:mergeBlockNumber:38130 -o:build/$@ " portal/tests/eth_history_tests/$@ .nim"
297-
291+ # builds and runs the Portal test suite
298292all_portal_tests : | build deps
299293 echo -e $(BUILD_MSG ) " build/$@ " && \
300294 $(ENV_SCRIPT ) nim c -r $(NIM_PARAMS ) -d:chronicles_log_level=ERROR -o:build/$@ " portal/tests/$@ .nim"
301295
302- # builds and runs the Portal test suite
303- portal-test : | all_portal_tests all_eth_history_custom_chain_tests
296+ # alias for all_portal_tests
297+ portal-test : | all_portal_tests
304298
305299# builds the Portal tools, wherever they are
306- $(PORTAL_TOOLS ) : | build deps rocksdb
300+ $(PORTAL_TOOLS ) : | build deps
307301 for D in $( PORTAL_TOOLS_DIRS) ; do [ -e " $$ {D}/$@ .nim" ] && TOOL_DIR=" $$ {D}" && break ; done && \
308302 echo -e $(BUILD_MSG ) " build/$@ " && \
309303 $(ENV_SCRIPT ) nim c $(NIM_PARAMS ) -d:chronicles_log_level=TRACE -o:build/$@ " $$ {TOOL_DIR}/$@ .nim"
@@ -333,7 +327,7 @@ fluffy: | build deps
333327 $(ENV_SCRIPT ) nim c $(NIM_PARAMS ) -d:chronicles_log_level=TRACE -o:build/$@ " portal/client/nimbus_portal_client.nim"
334328
335329# Legacy target, same as nimbus_portal_bridge, deprecated
336- portal_bridge : | build deps rocksdb
330+ portal_bridge : | build deps
337331 echo -e " \033[0;31mWarning:\033[0m The portal_bridge target and binary is deprecated, use 'make nimbus_portal_bridge' instead"
338332 echo -e $(BUILD_MSG ) " build/$@ " && \
339333 $(ENV_SCRIPT ) nim c $(NIM_PARAMS ) -d:chronicles_log_level=TRACE -o:build/$@ " portal/bridge/nimbus_portal_bridge.nim"
0 commit comments