mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-17 15:28:45 +00:00
5889670cc7
* Remove waitforsynced * Remove WaitForsynced entirely * Fix bazel * tidy
44 lines
1.1 KiB
Go
44 lines
1.1 KiB
Go
package featureconfig
|
|
|
|
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,
|
|
}
|
|
deprecatedEnablePruningDepositProofs = &cli.BoolFlag{
|
|
Name: "enable-pruning-deposit-proofs",
|
|
Usage: deprecatedUsage,
|
|
Hidden: true,
|
|
}
|
|
deprecatedEnableEth1DataMajorityVote = &cli.BoolFlag{
|
|
Name: "enable-eth1-data-majority-vote",
|
|
Usage: deprecatedUsage,
|
|
Hidden: true,
|
|
}
|
|
deprecatedEnableBlst = &cli.BoolFlag{
|
|
Name: "blst",
|
|
Usage: deprecatedUsage,
|
|
Hidden: true,
|
|
}
|
|
deprecatedWaitForSyncedFlag = &cli.BoolFlag{
|
|
Name: "wait-for-synced",
|
|
Usage: deprecatedUsage,
|
|
Hidden: true,
|
|
}
|
|
)
|
|
|
|
var deprecatedFlags = []cli.Flag{
|
|
exampleDeprecatedFeatureFlag,
|
|
deprecatedEnablePruningDepositProofs,
|
|
deprecatedEnableEth1DataMajorityVote,
|
|
deprecatedEnableBlst,
|
|
deprecatedWaitForSyncedFlag,
|
|
}
|