make it the default (#13556)

This commit is contained in:
Nishant Das 2024-01-31 18:27:26 +08:00 committed by GitHub
parent 7a294e861e
commit 73ce28c356
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 14 additions and 8 deletions

View File

@ -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)

View File

@ -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

View File

@ -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,