mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-21 14:58:31 +00:00
Remove deprecated flags in prep for v6.0.0 (#6490)
* Delete previously deprecated flags * Update CLI docs * Remove deprecated BN flags * Use ethereum-package main branch * Delete env_log/-l
This commit is contained in:
@@ -244,14 +244,6 @@ impl Config {
|
||||
config.distributed = true;
|
||||
}
|
||||
|
||||
if cli_args.get_flag("disable-run-on-all") {
|
||||
warn!(
|
||||
log,
|
||||
"The --disable-run-on-all flag is deprecated";
|
||||
"msg" => "please use --broadcast instead"
|
||||
);
|
||||
config.broadcast_topics = vec![];
|
||||
}
|
||||
if let Some(broadcast_topics) = cli_args.get_one::<String>("broadcast") {
|
||||
config.broadcast_topics = broadcast_topics
|
||||
.split(',')
|
||||
@@ -397,14 +389,6 @@ impl Config {
|
||||
config.prefer_builder_proposals = true;
|
||||
}
|
||||
|
||||
if cli_args.get_flag("produce-block-v3") {
|
||||
warn!(
|
||||
log,
|
||||
"produce-block-v3 flag";
|
||||
"note" => "deprecated flag has no effect and should be removed"
|
||||
);
|
||||
}
|
||||
|
||||
config.gas_limit = cli_args
|
||||
.get_one::<String>("gas-limit")
|
||||
.map(|gas_limit| {
|
||||
@@ -429,17 +413,6 @@ impl Config {
|
||||
config.enable_latency_measurement_service =
|
||||
!cli_args.get_flag("disable-latency-measurement-service");
|
||||
|
||||
if cli_args
|
||||
.get_one::<String>("latency-measurement-service")
|
||||
.is_some()
|
||||
{
|
||||
warn!(
|
||||
log,
|
||||
"latency-measurement-service flag";
|
||||
"note" => "deprecated flag has no effect and should be removed"
|
||||
);
|
||||
}
|
||||
|
||||
config.validator_registration_batch_size =
|
||||
parse_required(cli_args, "validator-registration-batch-size")?;
|
||||
if config.validator_registration_batch_size == 0 {
|
||||
|
||||
Reference in New Issue
Block a user