From ef08d1ed846e543f2dc1a22e75a2aa62f55d315f Mon Sep 17 00:00:00 2001 From: GoodDaisy <90915921+GoodDaisy@users.noreply.github.com> Date: Thu, 26 Oct 2023 20:36:50 +0800 Subject: [PATCH 1/3] Fix some typos Signed-off-by: GoodDaisy <90915921+GoodDaisy@users.noreply.github.com> --- .../ethereum/eth/sync/fullsync/SyncTerminationCondition.java | 2 +- .../ethereum/referencetests/StateTestVersionedTransaction.java | 2 +- .../main/java/org/hyperledger/besu/evm/code/CodeSection.java | 2 +- .../besu/evm/precompile/ECRECPrecompiledContract.java | 2 +- .../besu/plugin/services/storage/KeyValueStorage.java | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/sync/fullsync/SyncTerminationCondition.java b/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/sync/fullsync/SyncTerminationCondition.java index 3a3c8aface1..8cbf78c628f 100644 --- a/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/sync/fullsync/SyncTerminationCondition.java +++ b/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/sync/fullsync/SyncTerminationCondition.java @@ -22,7 +22,7 @@ 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() { diff --git a/ethereum/referencetests/src/main/java/org/hyperledger/besu/ethereum/referencetests/StateTestVersionedTransaction.java b/ethereum/referencetests/src/main/java/org/hyperledger/besu/ethereum/referencetests/StateTestVersionedTransaction.java index de3775ac7a6..fa18dea1a09 100644 --- a/ethereum/referencetests/src/main/java/org/hyperledger/besu/ethereum/referencetests/StateTestVersionedTransaction.java +++ b/ethereum/referencetests/src/main/java/org/hyperledger/besu/ethereum/referencetests/StateTestVersionedTransaction.java @@ -171,7 +171,7 @@ public Transaction get(final GeneralStateTestCaseSpec.Indexes indexes) { ? 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; } diff --git a/evm/src/main/java/org/hyperledger/besu/evm/code/CodeSection.java b/evm/src/main/java/org/hyperledger/besu/evm/code/CodeSection.java index b853a1f90e7..6eacd9447fd 100644 --- a/evm/src/main/java/org/hyperledger/besu/evm/code/CodeSection.java +++ b/evm/src/main/java/org/hyperledger/besu/evm/code/CodeSection.java @@ -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; /** diff --git a/evm/src/main/java/org/hyperledger/besu/evm/precompile/ECRECPrecompiledContract.java b/evm/src/main/java/org/hyperledger/besu/evm/precompile/ECRECPrecompiledContract.java index ad99945cffc..d3944f08a5e 100644 --- a/evm/src/main/java/org/hyperledger/besu/evm/precompile/ECRECPrecompiledContract.java +++ b/evm/src/main/java/org/hyperledger/besu/evm/precompile/ECRECPrecompiledContract.java @@ -49,7 +49,7 @@ public ECRECPrecompiledContract(final GasCalculator gasCalculator) { * 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) { diff --git a/plugin-api/src/main/java/org/hyperledger/besu/plugin/services/storage/KeyValueStorage.java b/plugin-api/src/main/java/org/hyperledger/besu/plugin/services/storage/KeyValueStorage.java index 3d0e9e5efea..2cd933e2f8d 100644 --- a/plugin-api/src/main/java/org/hyperledger/besu/plugin/services/storage/KeyValueStorage.java +++ b/plugin-api/src/main/java/org/hyperledger/besu/plugin/services/storage/KeyValueStorage.java @@ -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; From 4e3dc31ea93068892049bdb8f1185aaf1963f7ea Mon Sep 17 00:00:00 2001 From: GoodDaisy <90915921+GoodDaisy@users.noreply.github.com> Date: Sat, 28 Oct 2023 11:40:31 +0800 Subject: [PATCH 2/3] Update plugin version Signed-off-by: GoodDaisy <90915921+GoodDaisy@users.noreply.github.com> --- plugin-api/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin-api/build.gradle b/plugin-api/build.gradle index f79852f2011..16763bee61c 100644 --- a/plugin-api/build.gradle +++ b/plugin-api/build.gradle @@ -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 = 'j6NRklFHlG35Pq/t6t/oJBrT8DbYOyruGq3cJNh4ENw=' + knownHash = 'n2U2KHiXul6E/gxE2V5EUntrBdz6Q0qx3zLIFqPnaLU=' } check.dependsOn('checkAPIChanges') From 0359c041806c2cec8df56dc1d68682d061389658 Mon Sep 17 00:00:00 2001 From: GoodDaisy <90915921+GoodDaisy@users.noreply.github.com> Date: Sat, 28 Oct 2023 11:55:56 +0800 Subject: [PATCH 3/3] Update plugin version Signed-off-by: GoodDaisy <90915921+GoodDaisy@users.noreply.github.com> --- plugin-api/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin-api/build.gradle b/plugin-api/build.gradle index 16763bee61c..75b433f4a63 100644 --- a/plugin-api/build.gradle +++ b/plugin-api/build.gradle @@ -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 = 'n2U2KHiXul6E/gxE2V5EUntrBdz6Q0qx3zLIFqPnaLU=' + knownHash = 'ZXBvp7wuHQ8j4Gty2zg/gKdzgrOXSpehYukMuH98W/Y=' } check.dependsOn('checkAPIChanges')