Remove crit as an option from the CLI entirely (#7169)

https://github.com/sigp/lighthouse/issues/7165
This commit is contained in:
ThreeHrSleep
2025-03-27 06:56:03 +05:30
committed by GitHub
parent 6f31d44343
commit ca8eaea116
8 changed files with 16 additions and 23 deletions

View File

@@ -78,8 +78,7 @@ Options:
custom datadirs for different networks. custom datadirs for different networks.
--debug-level <LEVEL> --debug-level <LEVEL>
Specifies the verbosity level used when emitting logs to the terminal. Specifies the verbosity level used when emitting logs to the terminal.
[default: info] [possible values: info, debug, trace, warn, error, [default: info] [possible values: info, debug, trace, warn, error]
crit]
--discovery-port <PORT> --discovery-port <PORT>
The UDP port that discovery will listen on. Defaults to `port` The UDP port that discovery will listen on. Defaults to `port`
--discovery-port6 <PORT> --discovery-port6 <PORT>
@@ -247,7 +246,7 @@ Options:
[possible values: JSON] [possible values: JSON]
--logfile-debug-level <LEVEL> --logfile-debug-level <LEVEL>
The verbosity level used when emitting logs to the log file. [default: The verbosity level used when emitting logs to the log file. [default:
debug] [possible values: info, debug, trace, warn, error, crit] debug] [possible values: info, debug, trace, warn, error]
--logfile-dir <DIR> --logfile-dir <DIR>
Directory path where the log file will be stored Directory path where the log file will be stored
--logfile-format <FORMAT> --logfile-format <FORMAT>

View File

@@ -42,8 +42,7 @@ Options:
custom datadirs for different networks. custom datadirs for different networks.
--debug-level <LEVEL> --debug-level <LEVEL>
Specifies the verbosity level used when emitting logs to the terminal. Specifies the verbosity level used when emitting logs to the terminal.
[default: info] [possible values: info, debug, trace, warn, error, [default: info] [possible values: info, debug, trace, warn, error]
crit]
--genesis-state-url <URL> --genesis-state-url <URL>
A URL of a beacon-API compatible server from which to download the A URL of a beacon-API compatible server from which to download the
genesis state. Checkpoint sync server URLs can generally be used with genesis state. Checkpoint sync server URLs can generally be used with
@@ -58,7 +57,7 @@ Options:
[possible values: JSON] [possible values: JSON]
--logfile-debug-level <LEVEL> --logfile-debug-level <LEVEL>
The verbosity level used when emitting logs to the log file. [default: The verbosity level used when emitting logs to the log file. [default:
debug] [possible values: info, debug, trace, warn, error, crit] debug] [possible values: info, debug, trace, warn, error]
--logfile-dir <DIR> --logfile-dir <DIR>
Directory path where the log file will be stored Directory path where the log file will be stored
--logfile-format <FORMAT> --logfile-format <FORMAT>

View File

@@ -35,8 +35,7 @@ Options:
custom datadirs for different networks. custom datadirs for different networks.
--debug-level <LEVEL> --debug-level <LEVEL>
Specifies the verbosity level used when emitting logs to the terminal. Specifies the verbosity level used when emitting logs to the terminal.
[default: info] [possible values: info, debug, trace, warn, error, [default: info] [possible values: info, debug, trace, warn, error]
crit]
--gas-limit <INTEGER> --gas-limit <INTEGER>
The gas limit to be used in all builder proposals for all validators The gas limit to be used in all builder proposals for all validators
managed by this validator client. Note this will not necessarily be managed by this validator client. Note this will not necessarily be
@@ -79,7 +78,7 @@ Options:
[possible values: JSON] [possible values: JSON]
--logfile-debug-level <LEVEL> --logfile-debug-level <LEVEL>
The verbosity level used when emitting logs to the log file. [default: The verbosity level used when emitting logs to the log file. [default:
debug] [possible values: info, debug, trace, warn, error, crit] debug] [possible values: info, debug, trace, warn, error]
--logfile-dir <DIR> --logfile-dir <DIR>
Directory path where the log file will be stored Directory path where the log file will be stored
--logfile-format <FORMAT> --logfile-format <FORMAT>

View File

@@ -39,8 +39,7 @@ Options:
custom datadirs for different networks. custom datadirs for different networks.
--debug-level <LEVEL> --debug-level <LEVEL>
Specifies the verbosity level used when emitting logs to the terminal. Specifies the verbosity level used when emitting logs to the terminal.
[default: info] [possible values: info, debug, trace, warn, error, [default: info] [possible values: info, debug, trace, warn, error]
crit]
--genesis-state-url <URL> --genesis-state-url <URL>
A URL of a beacon-API compatible server from which to download the A URL of a beacon-API compatible server from which to download the
genesis state. Checkpoint sync server URLs can generally be used with genesis state. Checkpoint sync server URLs can generally be used with
@@ -55,7 +54,7 @@ Options:
[possible values: JSON] [possible values: JSON]
--logfile-debug-level <LEVEL> --logfile-debug-level <LEVEL>
The verbosity level used when emitting logs to the log file. [default: The verbosity level used when emitting logs to the log file. [default:
debug] [possible values: info, debug, trace, warn, error, crit] debug] [possible values: info, debug, trace, warn, error]
--logfile-dir <DIR> --logfile-dir <DIR>
Directory path where the log file will be stored Directory path where the log file will be stored
--logfile-format <FORMAT> --logfile-format <FORMAT>

View File

@@ -33,8 +33,7 @@ Options:
custom datadirs for different networks. custom datadirs for different networks.
--debug-level <LEVEL> --debug-level <LEVEL>
Specifies the verbosity level used when emitting logs to the terminal. Specifies the verbosity level used when emitting logs to the terminal.
[default: info] [possible values: info, debug, trace, warn, error, [default: info] [possible values: info, debug, trace, warn, error]
crit]
--deposit-gwei <DEPOSIT_GWEI> --deposit-gwei <DEPOSIT_GWEI>
The GWEI value of the deposit amount. Defaults to the minimum amount The GWEI value of the deposit amount. Defaults to the minimum amount
required for an active validator (MAX_EFFECTIVE_BALANCE) required for an active validator (MAX_EFFECTIVE_BALANCE)
@@ -62,7 +61,7 @@ Options:
[possible values: JSON] [possible values: JSON]
--logfile-debug-level <LEVEL> --logfile-debug-level <LEVEL>
The verbosity level used when emitting logs to the log file. [default: The verbosity level used when emitting logs to the log file. [default:
debug] [possible values: info, debug, trace, warn, error, crit] debug] [possible values: info, debug, trace, warn, error]
--logfile-dir <DIR> --logfile-dir <DIR>
Directory path where the log file will be stored Directory path where the log file will be stored
--logfile-format <FORMAT> --logfile-format <FORMAT>

View File

@@ -23,8 +23,7 @@ Options:
custom datadirs for different networks. custom datadirs for different networks.
--debug-level <LEVEL> --debug-level <LEVEL>
Specifies the verbosity level used when emitting logs to the terminal. Specifies the verbosity level used when emitting logs to the terminal.
[default: info] [possible values: info, debug, trace, warn, error, [default: info] [possible values: info, debug, trace, warn, error]
crit]
--gas-limit <UINT64> --gas-limit <UINT64>
When provided, the imported validator will use this gas limit. It is When provided, the imported validator will use this gas limit. It is
recommended to leave this as the default value by not specifying this recommended to leave this as the default value by not specifying this
@@ -47,7 +46,7 @@ Options:
[possible values: JSON] [possible values: JSON]
--logfile-debug-level <LEVEL> --logfile-debug-level <LEVEL>
The verbosity level used when emitting logs to the log file. [default: The verbosity level used when emitting logs to the log file. [default:
debug] [possible values: info, debug, trace, warn, error, crit] debug] [possible values: info, debug, trace, warn, error]
--logfile-dir <DIR> --logfile-dir <DIR>
Directory path where the log file will be stored Directory path where the log file will be stored
--logfile-format <FORMAT> --logfile-format <FORMAT>

View File

@@ -25,8 +25,7 @@ Options:
custom datadirs for different networks. custom datadirs for different networks.
--debug-level <LEVEL> --debug-level <LEVEL>
Specifies the verbosity level used when emitting logs to the terminal. Specifies the verbosity level used when emitting logs to the terminal.
[default: info] [possible values: info, debug, trace, warn, error, [default: info] [possible values: info, debug, trace, warn, error]
crit]
--dest-vc-token <PATH> --dest-vc-token <PATH>
The file containing a token required by the destination validator The file containing a token required by the destination validator
client. client.
@@ -51,7 +50,7 @@ Options:
[possible values: JSON] [possible values: JSON]
--logfile-debug-level <LEVEL> --logfile-debug-level <LEVEL>
The verbosity level used when emitting logs to the log file. [default: The verbosity level used when emitting logs to the log file. [default:
debug] [possible values: info, debug, trace, warn, error, crit] debug] [possible values: info, debug, trace, warn, error]
--logfile-dir <DIR> --logfile-dir <DIR>
Directory path where the log file will be stored Directory path where the log file will be stored
--logfile-format <FORMAT> --logfile-format <FORMAT>

View File

@@ -140,7 +140,7 @@ fn main() {
.value_name("LEVEL") .value_name("LEVEL")
.help("The verbosity level used when emitting logs to the log file.") .help("The verbosity level used when emitting logs to the log file.")
.action(ArgAction::Set) .action(ArgAction::Set)
.value_parser(["info", "debug", "trace", "warn", "error", "crit"]) .value_parser(["info", "debug", "trace", "warn", "error"])
.default_value("debug") .default_value("debug")
.global(true) .global(true)
.display_order(0) .display_order(0)
@@ -261,7 +261,7 @@ fn main() {
.value_name("LEVEL") .value_name("LEVEL")
.help("Specifies the verbosity level used when emitting logs to the terminal.") .help("Specifies the verbosity level used when emitting logs to the terminal.")
.action(ArgAction::Set) .action(ArgAction::Set)
.value_parser(["info", "debug", "trace", "warn", "error", "crit"]) .value_parser(["info", "debug", "trace", "warn", "error"])
.global(true) .global(true)
.default_value("info") .default_value("info")
.display_order(0) .display_order(0)