From ccf6321b9290f4c7c520fef8f2f3e975f07b7c15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20Faruk=20Irmak?= Date: Thu, 6 Jun 2024 17:20:56 +0300 Subject: [PATCH] feat: allow trie prefetch (#795) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * allow prefetch * chore: auto version bump [bot] * chore: auto version bump [bot] --------- Co-authored-by: Péter Garamvölgyi Co-authored-by: Thegaram Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com> --- cmd/utils/flags.go | 6 ------ params/version.go | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 7ad9915815..b547fe2520 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -1814,9 +1814,6 @@ func SetEthConfig(ctx *cli.Context, stack *node.Node, cfg *ethconfig.Config) { } log.Info("Pruning disabled") cfg.NoPruning = true - // disable prefetch - log.Info("Prefetch disabled") - cfg.NoPrefetch = true case ctx.GlobalBool(ScrollFlag.Name): if !ctx.GlobalIsSet(NetworkIdFlag.Name) { cfg.NetworkId = 534352 @@ -1833,9 +1830,6 @@ func SetEthConfig(ctx *cli.Context, stack *node.Node, cfg *ethconfig.Config) { } log.Info("Pruning disabled") cfg.NoPruning = true - // disable prefetch - log.Info("Prefetch disabled") - cfg.NoPrefetch = true case ctx.GlobalBool(DeveloperFlag.Name): if !ctx.GlobalIsSet(NetworkIdFlag.Name) { cfg.NetworkId = 1337 diff --git a/params/version.go b/params/version.go index fd71040024..522aadf0ea 100644 --- a/params/version.go +++ b/params/version.go @@ -24,7 +24,7 @@ import ( const ( VersionMajor = 5 // Major version component of the current release VersionMinor = 3 // Minor version component of the current release - VersionPatch = 37 // Patch version component of the current release + VersionPatch = 38 // Patch version component of the current release VersionMeta = "mainnet" // Version metadata to append to the version string )