From 3ceb27e54ff80877386357df931fae87992c32db Mon Sep 17 00:00:00 2001 From: taikoon Date: Fri, 14 Jun 2024 18:09:47 +0800 Subject: [PATCH 1/2] Update TrieStore.cs --- src/Nethermind/Nethermind.Trie/Pruning/TrieStore.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Nethermind/Nethermind.Trie/Pruning/TrieStore.cs b/src/Nethermind/Nethermind.Trie/Pruning/TrieStore.cs index a30a83402a9..26f3b600287 100644 --- a/src/Nethermind/Nethermind.Trie/Pruning/TrieStore.cs +++ b/src/Nethermind/Nethermind.Trie/Pruning/TrieStore.cs @@ -658,7 +658,7 @@ public void Prune() { // Most of the time in memory pruning is on `PrunePersistedRecursively`. So its // usually faster to just SaveSnapshot causing most of the entry to be persisted. - // Not saving snapshot just save about 5% of memory at most most of the time, causing + // Not saving snapshot just save about 5% of memory at most of the time, causing // an elevated pruning a few blocks after making it not very effective especially // on constant block processing such as during forward sync where it can take up to // 30% of the total time on halfpath as the block processing portion got faster. From a8f19144b64ba1729b74532c845ca416c6003116 Mon Sep 17 00:00:00 2001 From: taikoon Date: Fri, 14 Jun 2024 18:11:20 +0800 Subject: [PATCH 2/2] Update ILogger.cs --- src/Nethermind/Nethermind.Logging/ILogger.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Nethermind/Nethermind.Logging/ILogger.cs b/src/Nethermind/Nethermind.Logging/ILogger.cs index 291b5b982f4..6791b0a00af 100644 --- a/src/Nethermind/Nethermind.Logging/ILogger.cs +++ b/src/Nethermind/Nethermind.Logging/ILogger.cs @@ -7,7 +7,7 @@ namespace Nethermind.Logging; /// -/// Struct to wrap InterfaceLogger in that that when created sets values in struct for +/// Struct to wrap InterfaceLogger in that when created sets values in struct for /// IsTrace, IsDebug, IsInfo, IsWarn, IsError so the guards are a fast check inline against /// the struct rather than being an interface call each time. ///