mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 21:08:10 -05:00
* Delete deprecated flags * Changelog fragment * E2E: Remove delete flag usage. --------- Co-authored-by: Manu NALEPA <enalepa@offchainlabs.com>
29 lines
725 B
Go
29 lines
725 B
Go
package features
|
|
|
|
import (
|
|
"github.com/urfave/cli/v2"
|
|
)
|
|
|
|
// Deprecated flags list.
|
|
const deprecatedUsage = "DEPRECATED. DO NOT USE."
|
|
|
|
var (
|
|
// To deprecate a feature flag, first copy the example below, then insert deprecated flag in `deprecatedFlags`.
|
|
exampleDeprecatedFeatureFlag = &cli.StringFlag{
|
|
Name: "name",
|
|
Usage: deprecatedUsage,
|
|
Hidden: true,
|
|
}
|
|
)
|
|
|
|
// Deprecated flags for both the beacon node and validator client.
|
|
var deprecatedFlags = []cli.Flag{}
|
|
|
|
var upcomingDeprecation = []cli.Flag{
|
|
enableHistoricalSpaceRepresentation,
|
|
}
|
|
|
|
// deprecatedBeaconFlags contains flags that are still used by other components
|
|
// and therefore cannot be added to deprecatedFlags
|
|
var deprecatedBeaconFlags = []cli.Flag{}
|