From 8e413d9abbde7aa86a984a54c04d37bd5ae66f3c Mon Sep 17 00:00:00 2001 From: tersec Date: Wed, 30 Aug 2023 11:15:19 +0000 Subject: [PATCH] rename --stop-at-epoch flag to --debug-stop-at-epoch (#5361) --- beacon_chain/conf.nim | 4 ++-- beacon_chain/conf_light_client.nim | 2 +- scripts/launch_local_testnet.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/beacon_chain/conf.nim b/beacon_chain/conf.nim index 19dd6a80d..605ee7ca4 100644 --- a/beacon_chain/conf.nim +++ b/beacon_chain/conf.nim @@ -364,7 +364,7 @@ type hidden desc: "The wall-time epoch at which to exit the program. (for testing purposes)" defaultValue: 0 - name: "stop-at-epoch" .}: uint64 + name: "debug-stop-at-epoch" .}: uint64 stopAtSyncedEpoch* {. hidden @@ -959,7 +959,7 @@ type stopAtEpoch* {. desc: "A positive epoch selects the epoch at which to stop" defaultValue: 0 - name: "stop-at-epoch" .}: uint64 + name: "debug-stop-at-epoch" .}: uint64 payloadBuilderEnable* {. desc: "Enable usage of beacon node with external payload builder (BETA)" diff --git a/beacon_chain/conf_light_client.nim b/beacon_chain/conf_light_client.nim index f5228ade0..0b64b520d 100644 --- a/beacon_chain/conf_light_client.nim +++ b/beacon_chain/conf_light_client.nim @@ -155,7 +155,7 @@ type LightClientConf* = object hidden desc: "The wall-time epoch at which to exit the program. (for testing purposes)" defaultValue: 0 - name: "stop-at-epoch" .}: uint64 + name: "debug-stop-at-epoch" .}: uint64 template databaseDir*(config: LightClientConf): string = config.dataDir.databaseDir diff --git a/scripts/launch_local_testnet.sh b/scripts/launch_local_testnet.sh index 26ada80d7..48f9d14a5 100755 --- a/scripts/launch_local_testnet.sh +++ b/scripts/launch_local_testnet.sh @@ -220,7 +220,7 @@ while true; do ;; --stop-at-epoch) STOP_AT_EPOCH=$2 - STOP_AT_EPOCH_FLAG="--stop-at-epoch=$2" + STOP_AT_EPOCH_FLAG="--debug-stop-at-epoch=$2" shift 2 ;; --disable-htop)