mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-06 10:11:44 +00:00
Merge remote-tracking branch 'origin/release-v7.0.0' into unstable
This commit is contained in:
@@ -1460,6 +1460,15 @@ pub fn cli_app() -> Command {
|
||||
.action(ArgAction::Set)
|
||||
.display_order(0)
|
||||
)
|
||||
.arg(
|
||||
Arg::new("builder-disable-ssz")
|
||||
.long("builder-disable-ssz")
|
||||
.value_name("BOOLEAN")
|
||||
.help("Disables sending requests using SSZ over the builder API.")
|
||||
.requires("builder")
|
||||
.action(ArgAction::SetTrue)
|
||||
.display_order(0)
|
||||
)
|
||||
.arg(
|
||||
Arg::new("reset-payload-statuses")
|
||||
.long("reset-payload-statuses")
|
||||
|
||||
@@ -346,6 +346,8 @@ pub fn get_config<E: EthSpec>(
|
||||
el_config.builder_header_timeout =
|
||||
clap_utils::parse_optional(cli_args, "builder-header-timeout")?
|
||||
.map(Duration::from_millis);
|
||||
|
||||
el_config.disable_builder_ssz_requests = cli_args.get_flag("builder-disable-ssz");
|
||||
}
|
||||
|
||||
// Set config values from parse values.
|
||||
|
||||
Reference in New Issue
Block a user