mirror of
https://github.com/vacp2p/linea-besu.git
synced 2026-01-08 04:33:56 -05:00
[MINOR] add newline to beginning of PR template (#8210)
* add newline to beginning of PR template Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com> * fix initial typo Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com> * fix tx typos Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com> --------- Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
This commit is contained in:
1
.github/pull_request_template.md
vendored
1
.github/pull_request_template.md
vendored
@@ -1,3 +1,4 @@
|
||||
|
||||
## PR description
|
||||
|
||||
## Fixed Issue(s)
|
||||
|
||||
@@ -366,7 +366,7 @@ public abstract class AbstractEngineNewPayload extends ExecutionEngineJsonRpcMet
|
||||
.mapToInt(List::size)
|
||||
.sum(),
|
||||
lastExecutionTime / 1000.0,
|
||||
executionResult.getNbParallelizedTransations());
|
||||
executionResult.getNbParallelizedTransactions());
|
||||
return respondWith(reqId, blockParam, newBlockHeader.getHash(), VALID);
|
||||
} else {
|
||||
if (executionResult.causedBy().isPresent()) {
|
||||
@@ -612,7 +612,7 @@ public abstract class AbstractEngineNewPayload extends ExecutionEngineJsonRpcMet
|
||||
final Block block,
|
||||
final int blobCount,
|
||||
final double timeInS,
|
||||
final Optional<Integer> nbParallelizedTransations) {
|
||||
final Optional<Integer> nbParallelizedTransactions) {
|
||||
final StringBuilder message = new StringBuilder();
|
||||
final int nbTransactions = block.getBody().getTransactions().size();
|
||||
message.append("Imported #%,d (%s)|%5d tx");
|
||||
@@ -635,9 +635,9 @@ public abstract class AbstractEngineNewPayload extends ExecutionEngineJsonRpcMet
|
||||
(block.getHeader().getGasUsed() * 100.0) / block.getHeader().getGasLimit(),
|
||||
timeInS,
|
||||
mgasPerSec));
|
||||
if (nbParallelizedTransations.isPresent()) {
|
||||
if (nbParallelizedTransactions.isPresent()) {
|
||||
double parallelizedTxPercentage =
|
||||
(double) (nbParallelizedTransations.get() * 100) / nbTransactions;
|
||||
(double) (nbParallelizedTransactions.get() * 100) / nbTransactions;
|
||||
message.append("| parallel txs %5.1f%%");
|
||||
messageArgs.add(parallelizedTxPercentage);
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ public class BlockProcessingResult extends BlockValidationResult {
|
||||
|
||||
private final Optional<BlockProcessingOutputs> yield;
|
||||
private final boolean isPartial;
|
||||
private Optional<Integer> nbParallelizedTransations = Optional.empty();
|
||||
private Optional<Integer> nbParallelizedTransactions = Optional.empty();
|
||||
|
||||
/** A result indicating that processing failed. */
|
||||
public static final BlockProcessingResult FAILED = new BlockProcessingResult("processing failed");
|
||||
@@ -45,15 +45,15 @@ public class BlockProcessingResult extends BlockValidationResult {
|
||||
* A result indicating that processing was successful but incomplete.
|
||||
*
|
||||
* @param yield the outputs of processing a block
|
||||
* @param nbParallelizedTransations potential number of parallelized transactions during block
|
||||
* @param nbParallelizedTransactions potential number of parallelized transactions during block
|
||||
* processing
|
||||
*/
|
||||
public BlockProcessingResult(
|
||||
final Optional<BlockProcessingOutputs> yield,
|
||||
final Optional<Integer> nbParallelizedTransations) {
|
||||
final Optional<Integer> nbParallelizedTransactions) {
|
||||
this.yield = yield;
|
||||
this.isPartial = false;
|
||||
this.nbParallelizedTransations = nbParallelizedTransations;
|
||||
this.nbParallelizedTransactions = nbParallelizedTransactions;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -166,7 +166,7 @@ public class BlockProcessingResult extends BlockValidationResult {
|
||||
*
|
||||
* @return Optional of parallelized transactions during the block execution
|
||||
*/
|
||||
public Optional<Integer> getNbParallelizedTransations() {
|
||||
return nbParallelizedTransations;
|
||||
public Optional<Integer> getNbParallelizedTransactions() {
|
||||
return nbParallelizedTransactions;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -191,7 +191,7 @@ public class MainnetBlockValidator implements BlockValidator {
|
||||
|
||||
return new BlockProcessingResult(
|
||||
Optional.of(new BlockProcessingOutputs(worldState, receipts, maybeRequests)),
|
||||
result.getNbParallelizedTransations());
|
||||
result.getNbParallelizedTransactions());
|
||||
}
|
||||
} catch (MerkleTrieException ex) {
|
||||
context.getWorldStateArchive().heal(ex.getMaybeAddress(), ex.getLocation());
|
||||
|
||||
@@ -282,7 +282,7 @@ public class ProtocolSpec {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the TransctionReceiptFactory used in this specification
|
||||
* Returns the TransactionReceiptFactory used in this specification
|
||||
*
|
||||
* @return the transaction receipt factory
|
||||
*/
|
||||
|
||||
@@ -6,7 +6,7 @@ BesuFuzz is where all the besu guided fuzzing tools live.
|
||||
|
||||
Performs differential fuzzing between Ethereum clients based on
|
||||
the [txparse eofparse](https://github.com/holiman/txparse/blob/main/README.md#eof-parser-eofparse)
|
||||
format. Note that only the inital `OK` and `err` values are used to determine if
|
||||
format. Note that only the initial `OK` and `err` values are used to determine if
|
||||
there is a difference.
|
||||
|
||||
### Prototypical CLI Usage:
|
||||
|
||||
Reference in New Issue
Block a user