Skip to content

Commit

Permalink
Deprecate safe slots to import flag (#12964)
Browse files Browse the repository at this point in the history
  • Loading branch information
terencechain authored Sep 28, 2023
1 parent 5870536 commit c20f188
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions cmd/beacon-chain/flags/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,11 @@ var (
Usage: "The percentage of freshly allocated data to live data on which the gc will be run again.",
Value: 100,
}
// SafeSlotsToImportOptimistically specifies the number of slots that a
// node should wait before being able to optimistically sync blocks
// across the merge boundary
// SafeSlotsToImportOptimistically is deprecated. It should be removed in the next major release.
SafeSlotsToImportOptimistically = &cli.IntFlag{
Name: "safe-slots-to-import-optimistically",
Usage: "The number of slots to wait before optimistically syncing a block without enabled execution.",
Value: 128,
Name: "safe-slots-to-import-optimistically",
Usage: "DEPRECATED. DO NOT USE",
Hidden: true,
}
// SlotsPerArchivedPoint specifies the number of slots between the archived points, to save beacon state in the cold
// section of beaconDB.
Expand Down

0 comments on commit c20f188

Please sign in to comment.