diff --git a/Dockerfile.chiseled b/Dockerfile.chiseled index 936c78877dc..cd327a31b8e 100644 --- a/Dockerfile.chiseled +++ b/Dockerfile.chiseled @@ -15,7 +15,7 @@ RUN arch=$([ "$TARGETARCH" = "amd64" ] && echo "x64" || echo "$TARGETARCH") && \ dotnet publish src/Nethermind/Nethermind.Runner -c $BUILD_CONFIG -a $arch -o /publish --sc false \ -p:BuildTimestamp=$BUILD_TIMESTAMP -p:Commit=$COMMIT_HASH -# Creating these directiories here is needed to ensure the correct permissions +# Creating these directories here is needed to ensure the correct permissions RUN cd /publish && \ mkdir keystore && \ mkdir logs && \ diff --git a/src/Nethermind/Nethermind.AccountAbstraction.Test/Network/CalculateRequestIdTest.cs b/src/Nethermind/Nethermind.AccountAbstraction.Test/Network/CalculateRequestIdTest.cs index 3b7d97f06b9..846ac920899 100644 --- a/src/Nethermind/Nethermind.AccountAbstraction.Test/Network/CalculateRequestIdTest.cs +++ b/src/Nethermind/Nethermind.AccountAbstraction.Test/Network/CalculateRequestIdTest.cs @@ -16,7 +16,7 @@ public class CalculateRequestIdTest [Test] public void Calculates_RequestId_Correctly_No_Signature() { - //todo: find another simialr transaction on a different network like holesky as goerli is being phased out. + //todo: find another similar transaction on a different network like holesky as goerli is being phased out. //Using the following transaction as reference: https://goerli.etherscan.io/tx/0xa9236155292e30bfb43c5a758e0c906e18697cf23198f81e2a72e5322cd0acb7#eventlog UserOperation userOperation = new(new UserOperationRpc { diff --git a/src/Nethermind/Nethermind.Blockchain/Synchronization/ISyncConfig.cs b/src/Nethermind/Nethermind.Blockchain/Synchronization/ISyncConfig.cs index 551a9856a33..35c6c3fc1ac 100644 --- a/src/Nethermind/Nethermind.Blockchain/Synchronization/ISyncConfig.cs +++ b/src/Nethermind/Nethermind.Blockchain/Synchronization/ISyncConfig.cs @@ -80,7 +80,7 @@ public interface ISyncConfig : IConfig public long AncientBodiesBarrierCalc => Math.Max(1, Math.Min(PivotNumberParsed, AncientBodiesBarrier)); [ConfigItem(Description = $$""" - The earliest receipt downloaded with fast sync when `{{nameof(DownloadReceiptsInFastSync)}}` is set to `true`. The actual value is determined as folows: + The earliest receipt downloaded with fast sync when `{{nameof(DownloadReceiptsInFastSync)}}` is set to `true`. The actual value is determined as follows: ``` max{ 1, min{ PivotNumber, max{ AncientBodiesBarrier, AncientReceiptsBarrier } } } diff --git a/src/Nethermind/Nethermind.Cli/Modules/CliModuleLoader.cs b/src/Nethermind/Nethermind.Cli/Modules/CliModuleLoader.cs index 88179e89ac2..41bba31a0da 100644 --- a/src/Nethermind/Nethermind.Cli/Modules/CliModuleLoader.cs +++ b/src/Nethermind/Nethermind.Cli/Modules/CliModuleLoader.cs @@ -66,7 +66,7 @@ private void LoadModule(CliModuleBase module) if (cliModuleAttribute is null) { _cliConsole.WriteErrorLine( - $"Could not load module {module.GetType().Name} bacause of a missing {nameof(CliModuleAttribute)}."); + $"Could not load module {module.GetType().Name} because of a missing {nameof(CliModuleAttribute)}."); return; } diff --git a/src/Nethermind/Nethermind.Consensus/MiningConfig.cs b/src/Nethermind/Nethermind.Consensus/MiningConfig.cs index dbf2398286a..25677828cae 100644 --- a/src/Nethermind/Nethermind.Consensus/MiningConfig.cs +++ b/src/Nethermind/Nethermind.Consensus/MiningConfig.cs @@ -64,7 +64,7 @@ public IBlocksConfig? BlocksConfig { get { - // Lazt initalisation due to the awaiting of interface defaults application on assembly + // Last initialisation due to the awaiting of interface defaults application on assembly _blocksConfig ??= new BlocksConfig(); return _blocksConfig; diff --git a/src/Nethermind/Nethermind.Consensus/Processing/RecoverSignature.cs b/src/Nethermind/Nethermind.Consensus/Processing/RecoverSignature.cs index eabaacd5d3a..73583c58e03 100644 --- a/src/Nethermind/Nethermind.Consensus/Processing/RecoverSignature.cs +++ b/src/Nethermind/Nethermind.Consensus/Processing/RecoverSignature.cs @@ -65,7 +65,7 @@ public void RecoverData(Block block) } catch (Exception e) { - if (_logger.IsError) _logger.Error($"An error occured while getting pending a transaction from TxPool, Transaction: {blockTransaction}", e); + if (_logger.IsError) _logger.Error($"An error occurred while getting a pending transaction from TxPool, Transaction: {blockTransaction}", e); } Address sender = transaction?.SenderAddress; diff --git a/src/Nethermind/Nethermind.Consensus/TargetAdjustedGasLimitCalculator.cs b/src/Nethermind/Nethermind.Consensus/TargetAdjustedGasLimitCalculator.cs index 47ce7b02336..9fc619e58d2 100644 --- a/src/Nethermind/Nethermind.Consensus/TargetAdjustedGasLimitCalculator.cs +++ b/src/Nethermind/Nethermind.Consensus/TargetAdjustedGasLimitCalculator.cs @@ -26,7 +26,7 @@ public long GetGasLimit(BlockHeader parentHeader) long? targetGasLimit = _blocksConfig.TargetBlockGasLimit; long newBlockNumber = parentHeader.Number + 1; - IReleaseSpec spec = _specProvider.GetSpec(newBlockNumber, parentHeader.Timestamp); // taking the parent timestamp is a temprory solution + IReleaseSpec spec = _specProvider.GetSpec(newBlockNumber, parentHeader.Timestamp); // taking the parent timestamp is a temporary solution if (targetGasLimit is not null) { long maxGasLimitDifference = Math.Max(0, parentGasLimit / spec.GasLimitBoundDivisor - 1);