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)
.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::new("builder-user-agent")
.long("builder-user-agent")

View File

@@ -335,13 +335,6 @@ pub fn get_config<E: EthSpec>(
.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") {
warn!(
log,