Keep CLI options consistent by removing the '-enable' suffix from the outliers (#3928)

This commit is contained in:
zah 2022-08-05 18:38:26 +03:00 committed by GitHub
parent 52b32c13e1
commit 8273b3d909
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -383,7 +383,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) \
--light-client-enable=on \
--light-client=on \
--dump $(NODE_PARAMS)
endef

View File

@ -283,7 +283,7 @@ type
hidden
desc: "BETA: Accelerate sync using light client."
defaultValue: false
name: "light-client-enable" .}: bool
name: "light-client" .}: bool
lightClientTrustedBlockRoot* {.
hidden
@ -546,7 +546,7 @@ type
hidden
desc: "Enable external payload builder"
defaultValue: false
name: "payload-builder-enable" .}: bool
name: "payload-builder" .}: bool
payloadBuilderUrl* {.
hidden

View File

@ -924,7 +924,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 ))" \
--light-client-enable=on \
--light-client=on \
${EXTRA_ARGS} \
&> "${DATA_DIR}/log${NUM_NODE}.txt" &