serve light client data in CI / dev builds (#3487)

Adjust config for CI / dev builds to serve light client data by default:
`--serve-light-client-data=1 --import-light-client-data=only-new`
This commit is contained in:
Etan Kissling 2022-03-12 22:12:18 +01:00 committed by GitHub
parent 280492873f
commit 89ac586bd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -306,6 +306,7 @@ define CONNECT_TO_NETWORK_IN_DEV_MODE
--network=$(1) $(3) $(GOERLI_TESTNETS_PARAMS) \
--log-level="DEBUG; TRACE:discv5,networking; REQUIRED:none; DISABLED:none" \
--data-dir=build/data/shared_$(1)_$(NODE_ID) \
--serve-light-client-data=1 --import-light-client-data=only-new \
--dump $(NODE_PARAMS)
endef

View File

@ -597,6 +597,7 @@ for NUM_NODE in $(seq 0 $(( NUM_NODES - 1 ))); do
${STOP_AT_EPOCH_FLAG} \
--rest-port="$(( BASE_REST_PORT + NUM_NODE ))" \
--metrics-port="$(( BASE_METRICS_PORT + NUM_NODE ))" \
--serve-light-client-data=1 --import-light-client-data=only-new \
${EXTRA_ARGS} \
&> "${DATA_DIR}/log${NUM_NODE}.txt" &