Add makefile targets for Pyrmont

This commit is contained in:
Zahary Karadjov 2020-11-12 21:50:49 +02:00
parent b9e122a60c
commit 8ad45de65b
No known key found for this signature in database
GPG Key ID: C8936F8A3073D609
3 changed files with 27 additions and 1 deletions

View File

@ -345,6 +345,29 @@ endif
clean-toledo:
$(call CLEAN_NETWORK,toledo)
###
### pyrmont
###
pyrmont-build: | nimbus_beacon_node nimbus_signing_process
# https://www.gnu.org/software/make/manual/html_node/Call-Function.html#Call-Function
pyrmont: | pyrmont-build
$(call CONNECT_TO_NETWORK,pyrmont,nimbus_beacon_node)
pyrmont-vc: | pyrmont-build nimbus_validator_client
$(call CONNECT_TO_NETWORK_WITH_VALIDATOR_CLIENT,pyrmont,nimbus_beacon_node)
ifneq ($(LOG_LEVEL), TRACE)
pyrmont-dev:
+ "$(MAKE)" LOG_LEVEL=TRACE $@
else
pyrmont-dev: | pyrmont-build
$(call CONNECT_TO_NETWORK_IN_DEV_MODE,pyrmont,nimbus_beacon_node)
endif
clean-pyrmont:
$(call CLEAN_NETWORK,pyrmont)
ctail: | build deps
mkdir -p vendor/.nimble/bin/
$(ENV_SCRIPT) nim -d:danger -o:vendor/.nimble/bin/ctail c vendor/nim-chronicles-tail/ctail.nim

View File

@ -168,6 +168,7 @@ template eth2testnet(path: string): Eth2NetworkMetadata =
const
medallaMetadata* = eth2testnet "shared/medalla"
toledoMetadata* = eth2testnet "shared/toledo"
pyrmontMetadata* = eth2testnet "shared/pyrmont"
testnet0Metadata* = eth2testnet "nimbus/testnet0"
testnet1Metadata* = eth2testnet "nimbus/testnet1"
@ -182,6 +183,8 @@ proc getMetadataForNetwork*(networkName: string): Eth2NetworkMetadata =
medallaMetadata
of "toledo":
toledoMetadata
of "pyrmont":
pyrmontMetadata
of "testnet0":
testnet0Metadata
of "testnet1":

@ -1 +1 @@
Subproject commit dbe50949196c2b259cc4971773bd6f7de9ddda99
Subproject commit 10fd0c3193d4c89f0ee2a699a6d09c812b202e52