Fix some typos (#6093)

* Fix some typos
* Update plugin version

Signed-off-by: GoodDaisy <90915921+GoodDaisy@users.noreply.github.com>

---------

Signed-off-by: GoodDaisy <90915921+GoodDaisy@users.noreply.github.com>
pull/5865/merge
GoodDaisy 1 year ago committed by GitHub
parent 6dd558b532
commit e814886d4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/sync/fullsync/SyncTerminationCondition.java
  2. 2
      ethereum/referencetests/src/main/java/org/hyperledger/besu/ethereum/referencetests/StateTestVersionedTransaction.java
  3. 2
      evm/src/main/java/org/hyperledger/besu/evm/code/CodeSection.java
  4. 2
      evm/src/main/java/org/hyperledger/besu/evm/precompile/ECRECPrecompiledContract.java
  5. 2
      plugin-api/build.gradle
  6. 2
      plugin-api/src/main/java/org/hyperledger/besu/plugin/services/storage/KeyValueStorage.java

@ -22,7 +22,7 @@ import java.util.function.BooleanSupplier;
import org.apache.tuweni.units.bigints.UInt256;
/** return true when termination condition is fullfilled and the full sync should stop */
/** return true when termination condition is fulfilled and the full sync should stop */
public interface SyncTerminationCondition extends BooleanSupplier {
default boolean shouldContinueDownload() {

@ -171,7 +171,7 @@ public class StateTestVersionedTransaction {
? null
: blobVersionedHashes.stream().map(VersionedHash::fromHexString).toList());
} catch (IllegalArgumentException iae) {
// versioned hash string was bad, so this is an invalid transaciton
// versioned hash string was bad, so this is an invalid transaction
return null;
}

@ -31,7 +31,7 @@ public final class CodeSection {
final int outputs;
/** The Max stack height. */
final int maxStackHeight;
/** The byte offset from the begining of the container that the section starts at */
/** The byte offset from the beginning of the container that the section starts at */
final int entryPoint;
/**

@ -49,7 +49,7 @@ public class ECRECPrecompiledContract extends AbstractPrecompiledContract {
* Configure a new ECRecover precompile with a specific signature algorith and gas.
*
* @param gasCalculator the gas calculator
* @param signatureAlgorithm the algoritm (such as secp256k1 or secp256r1)
* @param signatureAlgorithm the algorithm (such as secp256k1 or secp256r1)
*/
public ECRECPrecompiledContract(
final GasCalculator gasCalculator, final SignatureAlgorithm signatureAlgorithm) {

@ -69,7 +69,7 @@ Calculated : ${currentHash}
tasks.register('checkAPIChanges', FileStateChecker) {
description = "Checks that the API for the Plugin-API project does not change without deliberate thought"
files = sourceSets.main.allJava.files
knownHash = 'MtslBKSKFkbHlLJZZ0j4Nv6CMKizULVXztr1tmDa9qA='
knownHash = 'ZXBvp7wuHQ8j4Gty2zg/gKdzgrOXSpehYukMuH98W/Y='
}
check.dependsOn('checkAPIChanges')

@ -132,7 +132,7 @@ public interface KeyValueStorage extends Closeable {
/**
* Begins a fresh transaction, for sequencing operations for later atomic execution.
*
* @return transaciton to sequence key-value operations.
* @return transaction to sequence key-value operations.
* @throws StorageException problem encountered when starting a new transaction.
*/
KeyValueStorageTransaction startTransaction() throws StorageException;

Loading…
Cancel
Save