From a37e3407827e9cfdab62c74e8a8baa003637a14a Mon Sep 17 00:00:00 2001 From: Sina Mahmoodi Date: Wed, 11 Mar 2026 12:02:14 +0100 Subject: [PATCH] apply review feedback --- cmd/geth/chaincmd.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/geth/chaincmd.go b/cmd/geth/chaincmd.go index 824c073403..f6072b7d4e 100644 --- a/cmd/geth/chaincmd.go +++ b/cmd/geth/chaincmd.go @@ -214,8 +214,8 @@ blockchain database up to a specified point, while preserving block headers. Thi helps reduce storage requirements for nodes that don't need full historical data. The --history.chain flag is required to specify the pruning target: - - postmerge: Prune up to the merge block - - postprague: Prune up to the Prague (Pectra) upgrade block`, + - postmerge: Prune up to the merge block. The node will keep the merge block and everything thereafter. + - postprague: Prune up to the Prague (Pectra) upgrade block. The node will keep the prague block and everything thereafter.`, } downloadEraCommand = &cli.Command{ @@ -678,7 +678,7 @@ func hashish(x string) bool { func pruneHistory(ctx *cli.Context) error { // Parse and validate the history mode flag. if !ctx.IsSet(utils.ChainHistoryFlag.Name) { - return errors.New("--history.chain flag is required (use 'postmerge' or 'postprague')") + return errors.New("--history.chain flag is required") } var mode history.HistoryMode if err := mode.UnmarshalText([]byte(ctx.String(utils.ChainHistoryFlag.Name))); err != nil {