From 30363362ab841cb6d70cd9c93a9baf65d150bdb6 Mon Sep 17 00:00:00 2001 From: Gary Rong Date: Thu, 29 May 2025 17:10:31 +0800 Subject: [PATCH] cmd/utils: remove the archive restriction on path --- cmd/utils/flags.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 2412964a3a..ba98ec4169 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -1661,11 +1661,6 @@ func SetEthConfig(ctx *cli.Context, stack *node.Node, cfg *ethconfig.Config) { cfg.TransactionHistory = 0 log.Warn("Disabled transaction unindexing for archive node") } - - if cfg.StateScheme != rawdb.HashScheme { - cfg.StateScheme = rawdb.HashScheme - log.Warn("Forcing hash state-scheme for archive mode") - } } if ctx.IsSet(LogHistoryFlag.Name) { cfg.LogHistory = ctx.Uint64(LogHistoryFlag.Name)