Skip to content

Commit 1e1f9d4

Browse files
committed
address copilot comments
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
1 parent fa9095e commit 1e1f9d4

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

ethereum/core/src/main/java/org/hyperledger/besu/ethereum/mainnet/parallelization/MainnetParallelBlockProcessor.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,7 @@ public BlockProcessingResult processBlock(
173173
final MutableWorldState worldState,
174174
final Block block,
175175
final Optional<BlockAccessList> blockAccessList) {
176-
177-
return super.processBlock(
176+
return processBlock(
178177
protocolContext,
179178
blockchain,
180179
worldState,

ethereum/core/src/test/java/org/hyperledger/besu/ethereum/mainnet/parallelization/AbstractParallelBlockProcessorIntegrationTest.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,9 @@ protected BlockProcessor createParallelProcessor(final ExecutionContextTestFixtu
155155
}
156156

157157
/**
158-
* Parallel block processor that extends MainnetBlockProcessor directly (not
159-
* MainnetParallelBlockProcessor) to avoid the block-level fallback. When parallel processing
160-
* produces a wrong state root, the result is returned as-is (failed), rather than being masked by
161-
* a silent sequential re-execution.
158+
* Parallel block processor that extends {@link MainnetParallelBlockProcessor} but disables the
159+
* block-level fallback. When parallel processing produces a wrong state root, the result is
160+
* returned as-is (failed), rather than being masked by a silent sequential re-execution.
162161
*/
163162
static class NoBlockFallbackParallelBlockProcessor extends MainnetParallelBlockProcessor {
164163

0 commit comments

Comments
 (0)