mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-16 08:26:37 +00:00
Allow the user to use 'goerli' instead of 'prater' (#3874)
This commit is contained in:
parent
2bd5d03743
commit
a517e8718c
31
Makefile
31
Makefile
@ -428,6 +428,37 @@ prater-dev-deposit: | prater-build deposit_contract
|
||||
clean-prater:
|
||||
$(call CLEAN_NETWORK,prater)
|
||||
|
||||
|
||||
###
|
||||
### Goerli
|
||||
###
|
||||
goerli-build: | nimbus_beacon_node nimbus_signing_node
|
||||
|
||||
# https://www.gnu.org/software/make/manual/html_node/Call-Function.html#Call-Function
|
||||
goerli: | goerli-build
|
||||
$(call CONNECT_TO_NETWORK,goerli,nimbus_beacon_node,$(GOERLI_WEB3_URL))
|
||||
|
||||
goerli-vc: | goerli-build nimbus_validator_client
|
||||
$(call CONNECT_TO_NETWORK_WITH_VALIDATOR_CLIENT,goerli,nimbus_beacon_node,$(GOERLI_WEB3_URL))
|
||||
|
||||
goerli-lc: | nimbus_light_client
|
||||
$(call CONNECT_TO_NETWORK_WITH_LIGHT_CLIENT,goerli)
|
||||
|
||||
ifneq ($(LOG_LEVEL), TRACE)
|
||||
goerli-dev:
|
||||
+ "$(MAKE)" LOG_LEVEL=TRACE $@
|
||||
else
|
||||
goerli-dev: | goerli-build
|
||||
$(call CONNECT_TO_NETWORK_IN_DEV_MODE,goerli,nimbus_beacon_node,$(GOERLI_WEB3_URL))
|
||||
endif
|
||||
|
||||
goerli-dev-deposit: | goerli-build deposit_contract
|
||||
$(call MAKE_DEPOSIT,goerli,$(GOERLI_WEB3_URL))
|
||||
|
||||
clean-goerli:
|
||||
$(call CLEAN_NETWORK,goerli)
|
||||
|
||||
|
||||
###
|
||||
### Ropsten
|
||||
###
|
||||
|
@ -294,7 +294,7 @@ when not defined(gnosisChainBinary):
|
||||
case toLowerAscii(networkName)
|
||||
of "mainnet":
|
||||
mainnetMetadata
|
||||
of "prater":
|
||||
of "prater", "goerli":
|
||||
praterMetadata
|
||||
of "ropsten":
|
||||
ropstenMetadata
|
||||
|
13
run-goerli-beacon-node.sh
Executable file
13
run-goerli-beacon-node.sh
Executable file
@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (c) 2020-2021 Status Research & Development GmbH. Licensed under
|
||||
# either of:
|
||||
# - Apache License, version 2.0
|
||||
# - MIT license
|
||||
# at your option. This file may not be copied, modified, or distributed except
|
||||
# according to those terms.
|
||||
|
||||
cd "$(dirname $0)"
|
||||
# Allow the binary to receive signals directly.
|
||||
exec scripts/run-beacon-node.sh nimbus_beacon_node goerli "$@"
|
||||
|
Loading…
x
Reference in New Issue
Block a user