diff --git a/src/Nethermind/Nethermind.Crypto/AesEngineX86Intrinsic.cs b/src/Nethermind/Nethermind.Crypto/AesEngineX86Intrinsic.cs index efa20f0a5d7..1f5751eaf3e 100644 --- a/src/Nethermind/Nethermind.Crypto/AesEngineX86Intrinsic.cs +++ b/src/Nethermind/Nethermind.Crypto/AesEngineX86Intrinsic.cs @@ -217,7 +217,7 @@ public Encode128(Vector128[] roundKeys) : base(roundKeys) { } public override void ProcessRounds(ref Vector128 state) { - // Take local refence to array so Jit can reason length doesn't change in method + // Take local reference to array so Jit can reason length doesn't change in method Vector128[] roundKeys = _roundKeys; { // Get the Jit to bounds check once rather than each increasing array access @@ -247,7 +247,7 @@ public Decode128(Vector128[] roundKeys) : base(roundKeys) { } public override void ProcessRounds(ref Vector128 state) { - // Take local refence to array so Jit can reason length doesn't change in method + // Take local reference to array so Jit can reason length doesn't change in method Vector128[] roundKeys = _roundKeys; { // Get the Jit to bounds check once rather than each increasing array access @@ -277,7 +277,7 @@ public Encode192(Vector128[] roundKeys) : base(roundKeys) { } public override void ProcessRounds(ref Vector128 state) { - // Take local refence to array so Jit can reason length doesn't change in method + // Take local reference to array so Jit can reason length doesn't change in method Vector128[] roundKeys = _roundKeys; { // Get the Jit to bounds check once rather than each increasing array access @@ -309,7 +309,7 @@ public Decode192(Vector128[] roundKeys) : base(roundKeys) { } public override void ProcessRounds(ref Vector128 state) { - // Take local refence to array so Jit can reason length doesn't change in method + // Take local reference to array so Jit can reason length doesn't change in method Vector128[] roundKeys = _roundKeys; { // Get the Jit to bounds check once rather than each increasing array access @@ -341,7 +341,7 @@ public Encode256(Vector128[] roundKeys) : base(roundKeys) { } public override void ProcessRounds(ref Vector128 state) { - // Take local refence to array so Jit can reason length doesn't change in method + // Take local reference to array so Jit can reason length doesn't change in method Vector128[] roundKeys = _roundKeys; { // Get the Jit to bounds check once rather than each increasing array access @@ -375,7 +375,7 @@ public Decode256(Vector128[] roundKeys) : base(roundKeys) { } public override void ProcessRounds(ref Vector128 state) { - // Take local refence to array so Jit can reason length doesn't change in method + // Take local reference to array so Jit can reason length doesn't change in method Vector128[] roundKeys = _roundKeys; { // Get the Jit to bounds check once rather than each increasing array access diff --git a/src/Nethermind/Nethermind.Db.Rocks/DbOnTheRocks.cs b/src/Nethermind/Nethermind.Db.Rocks/DbOnTheRocks.cs index e6d7e6b0ba2..c3ad62fc85f 100644 --- a/src/Nethermind/Nethermind.Db.Rocks/DbOnTheRocks.cs +++ b/src/Nethermind/Nethermind.Db.Rocks/DbOnTheRocks.cs @@ -183,7 +183,7 @@ private RocksDb Init(string basePath, string dbPath, IDbConfig dbConfig, ILogMan } catch (RocksDbException x) when (x.Message.Contains("LOCK")) { - if (_logger.IsWarn) _logger.Warn("If your database did not close properly you need to call 'find -type f -name '*LOCK*' -delete' from the databse folder"); + if (_logger.IsWarn) _logger.Warn("If your database did not close properly you need to call 'find -type f -name '*LOCK*' -delete' from the database folder"); throw; } catch (RocksDbSharpException x) diff --git a/src/Nethermind/Nethermind.Db.Rocks/Statistics/DbMetricsUpdater.cs b/src/Nethermind/Nethermind.Db.Rocks/Statistics/DbMetricsUpdater.cs index 8deba08d050..5801411b08e 100644 --- a/src/Nethermind/Nethermind.Db.Rocks/Statistics/DbMetricsUpdater.cs +++ b/src/Nethermind/Nethermind.Db.Rocks/Statistics/DbMetricsUpdater.cs @@ -79,7 +79,7 @@ public void ProcessCompactionStats(string compactionStatsString) } else { - _logger.Warn($"No RocksDB compaction stats available for {_dbName} databse."); + _logger.Warn($"No RocksDB compaction stats available for {_dbName} database."); } } diff --git a/src/Nethermind/Nethermind.Db.Test/DbMetricsUpdaterTests.cs b/src/Nethermind/Nethermind.Db.Test/DbMetricsUpdaterTests.cs index 9907105410e..6db63242bb0 100644 --- a/src/Nethermind/Nethermind.Db.Test/DbMetricsUpdaterTests.cs +++ b/src/Nethermind/Nethermind.Db.Test/DbMetricsUpdaterTests.cs @@ -86,7 +86,7 @@ public void ProcessCompactionStats_EmptyDump() Assert.That(Metrics.DbStats.Count, Is.EqualTo(0)); - logger.Received().Warn("No RocksDB compaction stats available for Test databse."); + logger.Received().Warn("No RocksDB compaction stats available for Test database."); } [Test] @@ -99,7 +99,7 @@ public void ProcessCompactionStats_NullDump() Assert.That(Metrics.DbStats.Count, Is.EqualTo(0)); - logger.Received().Warn("No RocksDB compaction stats available for Test databse."); + logger.Received().Warn("No RocksDB compaction stats available for Test database."); } } } diff --git a/src/Nethermind/Nethermind.Serialization.Rlp/Rlp.cs b/src/Nethermind/Nethermind.Serialization.Rlp/Rlp.cs index d3d92737c79..dbbddf92d9c 100644 --- a/src/Nethermind/Nethermind.Serialization.Rlp/Rlp.cs +++ b/src/Nethermind/Nethermind.Serialization.Rlp/Rlp.cs @@ -1196,7 +1196,7 @@ public Span DecodeByteArraySpan() if (lengthOfLength > 4) { // strange but needed to pass tests - seems that spec gives int64 length and tests int32 length - throw new RlpException("Expected length of lenth less or equal 4"); + throw new RlpException("Expected length of length less or equal 4"); } int length = DeserializeLength(lengthOfLength);