mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-03 00:27:38 +00:00
make it the default (#13556)
This commit is contained in:
parent
7a294e861e
commit
73ce28c356
@ -223,9 +223,10 @@ func ConfigureBeaconChain(ctx *cli.Context) error {
|
|||||||
logEnabled(enableFullSSZDataLogging)
|
logEnabled(enableFullSSZDataLogging)
|
||||||
cfg.EnableFullSSZDataLogging = true
|
cfg.EnableFullSSZDataLogging = true
|
||||||
}
|
}
|
||||||
if ctx.IsSet(enableVerboseSigVerification.Name) {
|
|
||||||
logEnabled(enableVerboseSigVerification)
|
|
||||||
cfg.EnableVerboseSigVerification = true
|
cfg.EnableVerboseSigVerification = true
|
||||||
|
if ctx.IsSet(disableVerboseSigVerification.Name) {
|
||||||
|
logEnabled(disableVerboseSigVerification)
|
||||||
|
cfg.EnableVerboseSigVerification = false
|
||||||
}
|
}
|
||||||
if ctx.IsSet(prepareAllPayloads.Name) {
|
if ctx.IsSet(prepareAllPayloads.Name) {
|
||||||
logEnabled(prepareAllPayloads)
|
logEnabled(prepareAllPayloads)
|
||||||
|
@ -73,6 +73,11 @@ var (
|
|||||||
Usage: deprecatedUsage,
|
Usage: deprecatedUsage,
|
||||||
Hidden: true,
|
Hidden: true,
|
||||||
}
|
}
|
||||||
|
deprecatedVerboseSigVerification = &cli.BoolFlag{
|
||||||
|
Name: "enable-verbose-sig-verification",
|
||||||
|
Usage: deprecatedUsage,
|
||||||
|
Hidden: true,
|
||||||
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
// Deprecated flags for both the beacon node and validator client.
|
// Deprecated flags for both the beacon node and validator client.
|
||||||
@ -90,6 +95,7 @@ var deprecatedFlags = []cli.Flag{
|
|||||||
deprecatedDisableOptionalEngineMethods,
|
deprecatedDisableOptionalEngineMethods,
|
||||||
deprecatedDisableAggregateParallel,
|
deprecatedDisableAggregateParallel,
|
||||||
deprecatedEnableEIP4881,
|
deprecatedEnableEIP4881,
|
||||||
|
deprecatedVerboseSigVerification,
|
||||||
}
|
}
|
||||||
|
|
||||||
// deprecatedBeaconFlags contains flags that are still used by other components
|
// deprecatedBeaconFlags contains flags that are still used by other components
|
||||||
|
@ -129,9 +129,9 @@ var (
|
|||||||
Name: "enable-beacon-rest-api",
|
Name: "enable-beacon-rest-api",
|
||||||
Usage: "(Experimental): Enables of the beacon REST API when querying a beacon node.",
|
Usage: "(Experimental): Enables of the beacon REST API when querying a beacon node.",
|
||||||
}
|
}
|
||||||
enableVerboseSigVerification = &cli.BoolFlag{
|
disableVerboseSigVerification = &cli.BoolFlag{
|
||||||
Name: "enable-verbose-sig-verification",
|
Name: "disable-verbose-sig-verification",
|
||||||
Usage: "Enables identifying invalid signatures if batch verification fails when processing block.",
|
Usage: "Disables identifying invalid signatures if batch verification fails when processing block.",
|
||||||
}
|
}
|
||||||
prepareAllPayloads = &cli.BoolFlag{
|
prepareAllPayloads = &cli.BoolFlag{
|
||||||
Name: "prepare-all-payloads",
|
Name: "prepare-all-payloads",
|
||||||
@ -159,7 +159,6 @@ var (
|
|||||||
|
|
||||||
// devModeFlags holds list of flags that are set when development mode is on.
|
// devModeFlags holds list of flags that are set when development mode is on.
|
||||||
var devModeFlags = []cli.Flag{
|
var devModeFlags = []cli.Flag{
|
||||||
enableVerboseSigVerification,
|
|
||||||
enableExperimentalState,
|
enableExperimentalState,
|
||||||
backfill.EnableExperimentalBackfill,
|
backfill.EnableExperimentalBackfill,
|
||||||
}
|
}
|
||||||
@ -201,7 +200,7 @@ var BeaconChainFlags = append(deprecatedBeaconFlags, append(deprecatedFlags, []c
|
|||||||
SaveFullExecutionPayloads,
|
SaveFullExecutionPayloads,
|
||||||
enableStartupOptimistic,
|
enableStartupOptimistic,
|
||||||
enableFullSSZDataLogging,
|
enableFullSSZDataLogging,
|
||||||
enableVerboseSigVerification,
|
disableVerboseSigVerification,
|
||||||
prepareAllPayloads,
|
prepareAllPayloads,
|
||||||
aggregateFirstInterval,
|
aggregateFirstInterval,
|
||||||
aggregateSecondInterval,
|
aggregateSecondInterval,
|
||||||
|
Loading…
Reference in New Issue
Block a user