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:
Michael Sproul
2024-10-18 15:21:46 +11:00
committed by GitHub
parent d1fda938a3
commit 6ad2c187dd
16 changed files with 4 additions and 295 deletions

View File

@@ -401,15 +401,6 @@ pub fn cli_app() -> Command {
.help_heading(FLAG_HEADER)
.display_order(0)
)
.arg(
Arg::new("self-limiter")
.long("self-limiter")
.help("This flag is deprecated and has no effect.")
.hide(true)
.action(ArgAction::SetTrue)
.help_heading(FLAG_HEADER)
.display_order(0)
)
.arg(
Arg::new("disable-self-limiter")
.long("disable-self-limiter")
@@ -525,16 +516,6 @@ pub fn cli_app() -> Command {
.action(ArgAction::Set)
.display_order(0)
)
.arg(
Arg::new("http-spec-fork")
.long("http-spec-fork")
.requires("enable_http")
.value_name("FORK")
.help("This flag is deprecated and has no effect.")
.hide(true)
.action(ArgAction::Set)
.display_order(0)
)
.arg(
Arg::new("http-enable-tls")
.long("http-enable-tls")
@@ -564,16 +545,6 @@ pub fn cli_app() -> Command {
.action(ArgAction::Set)
.display_order(0)
)
.arg(
Arg::new("http-allow-sync-stalled")
.long("http-allow-sync-stalled")
.action(ArgAction::SetTrue)
.help_heading(FLAG_HEADER)
.requires("enable_http")
.help("This flag is deprecated and has no effect.")
.hide(true)
.display_order(0)
)
.arg(
Arg::new("http-sse-capacity-multiplier")
.long("http-sse-capacity-multiplier")
@@ -1291,14 +1262,6 @@ pub fn cli_app() -> Command {
.action(ArgAction::Set)
.display_order(0)
)
.arg(
Arg::new("disable-lock-timeouts")
.long("disable-lock-timeouts")
.help("This flag is deprecated and has no effect.")
.action(ArgAction::SetTrue)
.help_heading(FLAG_HEADER)
.display_order(0)
)
.arg(
Arg::new("disable-proposer-reorgs")
.long("disable-proposer-reorgs")
@@ -1511,14 +1474,6 @@ pub fn cli_app() -> Command {
.help_heading(FLAG_HEADER)
.display_order(0)
)
.arg(
Arg::new("always-prefer-builder-payload")
.action(ArgAction::SetTrue)
.help_heading(FLAG_HEADER)
.long("always-prefer-builder-payload")
.help("This flag is deprecated and has no effect.")
.display_order(0)
)
.arg(
Arg::new("invalid-gossip-verified-blocks-path")
.action(ArgAction::Set)
@@ -1530,14 +1485,6 @@ pub fn cli_app() -> Command {
filling up their disks.")
.display_order(0)
)
.arg(
Arg::new("progressive-balances")
.long("progressive-balances")
.value_name("MODE")
.help("Deprecated. This optimisation is now the default and cannot be disabled.")
.action(ArgAction::Set)
.display_order(0)
)
.arg(
Arg::new("beacon-processor-max-workers")
.long("beacon-processor-max-workers")
@@ -1599,13 +1546,5 @@ pub fn cli_app() -> Command {
.action(ArgAction::Set)
.display_order(0)
)
.arg(
Arg::new("disable-duplicate-warn-logs")
.long("disable-duplicate-warn-logs")
.help("This flag is deprecated and has no effect.")
.action(ArgAction::SetTrue)
.help_heading(FLAG_HEADER)
.display_order(0)
)
.group(ArgGroup::new("enable_http").args(["http", "gui", "staking"]).multiple(true))
}