Add attacknet-beta1-mc-0

This commit is contained in:
Zahary Karadjov 2020-09-21 18:09:40 +03:00 committed by zah
parent 10cfd1ec37
commit 73724b2c4b
3 changed files with 36 additions and 1 deletions

View File

@ -278,6 +278,9 @@ define clean-network
rm -rf build/data/shared_$(1)*/*.log
endef
###
### medalla
###
medalla: | beacon_node signing_process
$(call connect_to_network,medalla)
@ -301,6 +304,9 @@ medalla-deposit: | beacon_node signing_process deposit_contract
clean-medalla:
$(call clean_network,medalla)
###
### spadina
###
spadina: | beacon_node signing_process
$(call connect_to_network,spadina)
@ -324,6 +330,32 @@ spadina-deposit: | beacon_node signing_process deposit_contract
clean-spadina:
$(call clean_network,spadina)
###
### attacknet-beta1-mc-0
###
attacknet-beta1-mc-0: | beacon_node signing_process
$(call connect_to_network,attacknet-beta1-mc-0)
attacknet-beta1-mc-0-vc: | beacon_node signing_process validator_client
$(call connect_to_network_with_validator_client,attacknet-beta1-mc-0)
ifneq ($(LOG_LEVEL), TRACE)
attacknet-beta1-mc-0-dev:
+ "$(MAKE)" LOG_LEVEL=TRACE $@
else
attacknet-beta1-mc-0-dev: | beacon_node signing_process
$(call connect_to_network_in_dev_mode,attacknet-beta1-mc-0)
endif
attacknet-beta1-mc-0-deposit-data: | beacon_node signing_process deposit_contract
$(call made_deposit_data,attacknet-beta1-mc-0)
attacknet-beta1-mc-0-deposit: | beacon_node signing_process deposit_contract
$(call made_deposit,attacknet-beta1-mc-0)
clean-attacknet-beta1-mc-0:
$(call clean_network,attacknet-beta1-mc-0)
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

@ -165,6 +165,7 @@ const
spadinaMetadata* = eth2testnet "shared/spadina"
testnet0Metadata* = eth2testnet "nimbus/testnet0"
testnet1Metadata* = eth2testnet "nimbus/testnet1"
attacknetMc0Metadata* = eth2testnet "shared/attacknet-beta1-mc-0"
{.pop.} # the following pocedures raise more than just `Defect`
@ -177,6 +178,8 @@ proc getMetadataForNetwork*(networkName: string): Eth2NetworkMetadata =
medallaMetadata
of "spadina":
spadinaMetadata
of "attacknet-beta1-mc-0":
attacknetMc0Metadata
of "testnet0":
testnet0Metadata
of "testnet1":

@ -1 +1 @@
Subproject commit 3a50f99abdcc8303096b4973b61712b6de37bfb0
Subproject commit f04512f15adccfc01b68f15c6216d681d08a1f83