rename --stop-at-epoch flag to --debug-stop-at-epoch (#5361)

This commit is contained in:
tersec 2023-08-30 11:15:19 +00:00 committed by GitHub
parent 6c42cfa79e
commit 8e413d9abb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -364,7 +364,7 @@ type
hidden hidden
desc: "The wall-time epoch at which to exit the program. (for testing purposes)" desc: "The wall-time epoch at which to exit the program. (for testing purposes)"
defaultValue: 0 defaultValue: 0
name: "stop-at-epoch" .}: uint64 name: "debug-stop-at-epoch" .}: uint64
stopAtSyncedEpoch* {. stopAtSyncedEpoch* {.
hidden hidden
@ -959,7 +959,7 @@ type
stopAtEpoch* {. stopAtEpoch* {.
desc: "A positive epoch selects the epoch at which to stop" desc: "A positive epoch selects the epoch at which to stop"
defaultValue: 0 defaultValue: 0
name: "stop-at-epoch" .}: uint64 name: "debug-stop-at-epoch" .}: uint64
payloadBuilderEnable* {. payloadBuilderEnable* {.
desc: "Enable usage of beacon node with external payload builder (BETA)" desc: "Enable usage of beacon node with external payload builder (BETA)"

View File

@ -155,7 +155,7 @@ type LightClientConf* = object
hidden hidden
desc: "The wall-time epoch at which to exit the program. (for testing purposes)" desc: "The wall-time epoch at which to exit the program. (for testing purposes)"
defaultValue: 0 defaultValue: 0
name: "stop-at-epoch" .}: uint64 name: "debug-stop-at-epoch" .}: uint64
template databaseDir*(config: LightClientConf): string = template databaseDir*(config: LightClientConf): string =
config.dataDir.databaseDir config.dataDir.databaseDir

View File

@ -220,7 +220,7 @@ while true; do
;; ;;
--stop-at-epoch) --stop-at-epoch)
STOP_AT_EPOCH=$2 STOP_AT_EPOCH=$2
STOP_AT_EPOCH_FLAG="--stop-at-epoch=$2" STOP_AT_EPOCH_FLAG="--debug-stop-at-epoch=$2"
shift 2 shift 2
;; ;;
--disable-htop) --disable-htop)