mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 03:30:35 +00:00
Remove disable ssz cache feature flag (#7513)
* Remove ssz cache flag and usages * Fix TestBeaconState_ProtoBeaconStateCompatibility * gazelle * Add cache flag back for tests * Revert previous changes * Revert previous changes Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
parent
b9844024b4
commit
7de161e917
@ -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
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user