From f786b2a7674f1bed55a3a4e0d49f573583a1dcb7 Mon Sep 17 00:00:00 2001 From: Zhou Date: Thu, 3 Jul 2025 22:40:16 -0300 Subject: [PATCH] cmd/utils: show full deprecated flags (#32141) This is a follow up PR after #32128 , Seems I've missed to add --txlookuplimit as hidden. In hte meanwhile, I also add the other deprecated flags into the output of `show-deprecated-flags` --- cmd/utils/flags_legacy.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cmd/utils/flags_legacy.go b/cmd/utils/flags_legacy.go index b507b01428..239be03ad6 100644 --- a/cmd/utils/flags_legacy.go +++ b/cmd/utils/flags_legacy.go @@ -44,6 +44,10 @@ var DeprecatedFlags = []cli.Flag{ MinerNewPayloadTimeoutFlag, MinerEtherbaseFlag, MiningEnabledFlag, + MetricsEnabledExpensiveFlag, + EnablePersonal, + UnlockedAccountFlag, + InsecureUnlockAllowedFlag, } var ( @@ -83,6 +87,7 @@ var ( // Deprecated August 2023 TxLookupLimitFlag = &cli.Uint64Flag{ Name: "txlookuplimit", + Hidden: true, Usage: "Number of recent blocks to maintain transactions index for (default = about one year, 0 = entire chain) (deprecated, use history.transactions instead)", Value: ethconfig.Defaults.TransactionHistory, Category: flags.DeprecatedCategory,