From ec4df3d7ce5b02a27359952099f94a94be432723 Mon Sep 17 00:00:00 2001 From: Pratik Patil Date: Fri, 9 May 2025 09:48:17 +0530 Subject: [PATCH] eth/catalyst: set non zero SnapshotCache when running snap sync --- eth/catalyst/api_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/catalyst/api_test.go b/eth/catalyst/api_test.go index d8449dde5e..dc1ab9b742 100644 --- a/eth/catalyst/api_test.go +++ b/eth/catalyst/api_test.go @@ -454,7 +454,7 @@ func startEthService(t *testing.T, genesis *core.Genesis, blocks []*types.Block) mcfg := miner.DefaultConfig mcfg.Etherbase = testAddr - ethcfg := ðconfig.Config{Genesis: genesis, SyncMode: downloader.FullSync, TrieTimeout: time.Minute, TrieDirtyCache: 256, TrieCleanCache: 256, Miner: mcfg} + ethcfg := ðconfig.Config{Genesis: genesis, SyncMode: downloader.FullSync, TrieTimeout: time.Minute, TrieDirtyCache: 256, TrieCleanCache: 256, Miner: mcfg, SnapshotCache: 10} ethservice, err := eth.New(n, ethcfg) if err != nil { t.Fatal("can't create eth service:", err)