Delete --builder-profit-threshold flag (#6131)

* delete builder-profit-threshold flag
This commit is contained in:
chonghe
2024-07-19 17:27:54 +08:00
committed by GitHub
parent 54e36f6319
commit 647992b156
3 changed files with 0 additions and 17 deletions

View File

@@ -1407,14 +1407,6 @@ pub fn cli_app() -> Command {
.help_heading(FLAG_HEADER) .help_heading(FLAG_HEADER)
.display_order(0) .display_order(0)
) )
.arg(
Arg::new("builder-profit-threshold")
.long("builder-profit-threshold")
.value_name("WEI_VALUE")
.help("This flag is deprecated and has no effect.")
.action(ArgAction::Set)
.display_order(0)
)
.arg( .arg(
Arg::new("builder-user-agent") Arg::new("builder-user-agent")
.long("builder-user-agent") .long("builder-user-agent")

View File

@@ -335,13 +335,6 @@ pub fn get_config<E: EthSpec>(
.map(Duration::from_millis); .map(Duration::from_millis);
} }
if parse_flag(cli_args, "builder-profit-threshold") {
warn!(
log,
"Ignoring --builder-profit-threshold";
"info" => "this flag is deprecated and will be removed"
);
}
if cli_args.get_flag("always-prefer-builder-payload") { if cli_args.get_flag("always-prefer-builder-payload") {
warn!( warn!(
log, log,

View File

@@ -46,8 +46,6 @@ Options:
--builder-header-timeout <MILLISECONDS> --builder-header-timeout <MILLISECONDS>
Defines a timeout value (in milliseconds) to use when fetching a block Defines a timeout value (in milliseconds) to use when fetching a block
header from the builder API. [default: 1000] header from the builder API. [default: 1000]
--builder-profit-threshold <WEI_VALUE>
This flag is deprecated and has no effect.
--builder-user-agent <STRING> --builder-user-agent <STRING>
The HTTP user agent to send alongside requests to the builder URL. The The HTTP user agent to send alongside requests to the builder URL. The
default is Lighthouse's version string. default is Lighthouse's version string.