run local finalization testnets with Geth (#4138)
This commit is contained in:
parent
ab3ac64b19
commit
3f17ceb0e2
12
Makefile
12
Makefile
|
@ -96,7 +96,9 @@ TOOLS_CSV := $(subst $(SPACE),$(COMMA),$(TOOLS))
|
|||
dist-win64 \
|
||||
dist-macos \
|
||||
dist-macos-arm64 \
|
||||
dist
|
||||
dist \
|
||||
local-testnet-minimal \
|
||||
local-testnet-mainnet
|
||||
|
||||
ifeq ($(NIM_PARAMS),)
|
||||
# "variables.mk" was not included, so we update the submodules.
|
||||
|
@ -175,6 +177,12 @@ restapi-test:
|
|||
--resttest-delay 30 \
|
||||
--kill-old-processes
|
||||
|
||||
ifneq ($(shell uname -p), arm)
|
||||
TESTNET_EXTRA_FLAGS := --run-geth --dl-geth
|
||||
else
|
||||
TESTNET_EXTRA_FLAGS :=
|
||||
endif
|
||||
|
||||
local-testnet-minimal:
|
||||
./scripts/launch_local_testnet.sh \
|
||||
--data-dir $@ \
|
||||
|
@ -194,6 +202,7 @@ local-testnet-minimal:
|
|||
--el-port-offset 5 \
|
||||
--timeout 600 \
|
||||
--kill-old-processes \
|
||||
$(TESTNET_EXTRA_FLAGS) \
|
||||
-- \
|
||||
--verify-finalization \
|
||||
--discv5:no
|
||||
|
@ -216,6 +225,7 @@ local-testnet-mainnet:
|
|||
--el-port-offset 5 \
|
||||
--timeout 2400 \
|
||||
--kill-old-processes \
|
||||
$(TESTNET_EXTRA_FLAGS) \
|
||||
-- \
|
||||
--verify-finalization \
|
||||
--discv5:no
|
||||
|
|
Loading…
Reference in New Issue