From c20f188966f09b831096b5fcb939a76aad543511 Mon Sep 17 00:00:00 2001 From: terencechain Date: Thu, 28 Sep 2023 02:40:58 -0700 Subject: [PATCH] Deprecate safe slots to import flag (#12964) --- cmd/beacon-chain/flags/base.go | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/cmd/beacon-chain/flags/base.go b/cmd/beacon-chain/flags/base.go index 56989268a..bd69b9db7 100644 --- a/cmd/beacon-chain/flags/base.go +++ b/cmd/beacon-chain/flags/base.go @@ -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.