The following check rejects a block without emitting any debug logs.
|
if (spec.IsEip7934Enabled && encodedSize > spec.Eip7934MaxRlpBlockSize) |
|
{ |
|
errorMessage = BlockErrorMessages.ExceededBlockSizeLimit(spec.Eip7934MaxRlpBlockSize); |
|
return false; |
Unlike the checks that follow, this makes it harder to understand why a block was rejected when running in debug mode.
The following check rejects a block without emitting any debug logs.
nethermind/src/Nethermind/Nethermind.Consensus/Validators/BlockValidator.cs
Lines 75 to 78 in 77cffab
Unlike the checks that follow, this makes it harder to understand why a block was rejected when running in debug mode.