diff --git a/shared/featureconfig/config.go b/shared/featureconfig/config.go index ad8bab1fa..f0e4cf699 100644 --- a/shared/featureconfig/config.go +++ b/shared/featureconfig/config.go @@ -180,11 +180,9 @@ func ConfigureBeaconChain(ctx *cli.Context) { log.Warn("Disabled dynamic attestation committee subnets") cfg.DisableDynamicCommitteeSubnets = true } + cfg.EnableSSZCache = true - if ctx.Bool(disableSSZCache.Name) { - log.Warn("Disabled ssz cache") - cfg.EnableSSZCache = false - } + if ctx.Bool(enableBackupWebhookFlag.Name) { log.Warn("Allowing database backups to be triggered from HTTP webhook.") cfg.EnableBackupWebhook = true diff --git a/shared/featureconfig/flags.go b/shared/featureconfig/flags.go index 238eada81..6a4154dd5 100644 --- a/shared/featureconfig/flags.go +++ b/shared/featureconfig/flags.go @@ -53,11 +53,6 @@ var ( Name: "disable-fork-choice-unsafe", Usage: "UNSAFE: disable fork choice for determining head of the beacon chain.", } - // disableSSZCache see https://github.com/prysmaticlabs/prysm/pull/4558. - disableSSZCache = &cli.BoolFlag{ - Name: "disable-ssz-cache", - Usage: "Disable ssz state root cache mechanism.", - } enableBackupWebhookFlag = &cli.BoolFlag{ Name: "enable-db-backup-webhook", Usage: "Serve HTTP handler to initiate database backups. The handler is served on the monitoring port at path /db/backup.", @@ -225,7 +220,6 @@ var BeaconChainFlags = append(deprecatedFlags, []cli.Flag{ writeSSZStateTransitionsFlag, disableForkChoiceUnsafeFlag, disableDynamicCommitteeSubnets, - disableSSZCache, kafkaBootstrapServersFlag, enableBackupWebhookFlag, cacheFilteredBlockTreeFlag,