diff --git a/config/features/config.go b/config/features/config.go index 79adb39d4..68a709961 100644 --- a/config/features/config.go +++ b/config/features/config.go @@ -223,9 +223,10 @@ func ConfigureBeaconChain(ctx *cli.Context) error { logEnabled(enableFullSSZDataLogging) 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) { logEnabled(prepareAllPayloads) diff --git a/config/features/deprecated_flags.go b/config/features/deprecated_flags.go index 28bef98ec..ee17617b9 100644 --- a/config/features/deprecated_flags.go +++ b/config/features/deprecated_flags.go @@ -73,6 +73,11 @@ var ( Usage: deprecatedUsage, Hidden: true, } + deprecatedVerboseSigVerification = &cli.BoolFlag{ + Name: "enable-verbose-sig-verification", + Usage: deprecatedUsage, + Hidden: true, + } ) // Deprecated flags for both the beacon node and validator client. @@ -90,6 +95,7 @@ var deprecatedFlags = []cli.Flag{ deprecatedDisableOptionalEngineMethods, deprecatedDisableAggregateParallel, deprecatedEnableEIP4881, + deprecatedVerboseSigVerification, } // deprecatedBeaconFlags contains flags that are still used by other components diff --git a/config/features/flags.go b/config/features/flags.go index 1731f674f..97fd6addd 100644 --- a/config/features/flags.go +++ b/config/features/flags.go @@ -129,9 +129,9 @@ var ( Name: "enable-beacon-rest-api", Usage: "(Experimental): Enables of the beacon REST API when querying a beacon node.", } - enableVerboseSigVerification = &cli.BoolFlag{ - Name: "enable-verbose-sig-verification", - Usage: "Enables identifying invalid signatures if batch verification fails when processing block.", + disableVerboseSigVerification = &cli.BoolFlag{ + Name: "disable-verbose-sig-verification", + Usage: "Disables identifying invalid signatures if batch verification fails when processing block.", } prepareAllPayloads = &cli.BoolFlag{ Name: "prepare-all-payloads", @@ -159,7 +159,6 @@ var ( // devModeFlags holds list of flags that are set when development mode is on. var devModeFlags = []cli.Flag{ - enableVerboseSigVerification, enableExperimentalState, backfill.EnableExperimentalBackfill, } @@ -201,7 +200,7 @@ var BeaconChainFlags = append(deprecatedBeaconFlags, append(deprecatedFlags, []c SaveFullExecutionPayloads, enableStartupOptimistic, enableFullSSZDataLogging, - enableVerboseSigVerification, + disableVerboseSigVerification, prepareAllPayloads, aggregateFirstInterval, aggregateSecondInterval,