run local finalization testnets with Geth (#4138)

This commit is contained in:
Etan Kissling 2022-09-18 07:44:20 +02:00 committed by GitHub
parent ab3ac64b19
commit 3f17ceb0e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 3 deletions

View File

@ -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