diff --git a/besu/src/main/java/org/hyperledger/besu/controller/TransitionBesuControllerBuilder.java b/besu/src/main/java/org/hyperledger/besu/controller/TransitionBesuControllerBuilder.java index 251ffba1c2..ee2611d9c8 100644 --- a/besu/src/main/java/org/hyperledger/besu/controller/TransitionBesuControllerBuilder.java +++ b/besu/src/main/java/org/hyperledger/besu/controller/TransitionBesuControllerBuilder.java @@ -413,9 +413,9 @@ public class TransitionBesuControllerBuilder extends BesuControllerBuilder { return propagateConfig(z -> z.dataStorageConfiguration(dataStorageConfiguration)); } - private BesuControllerBuilder propagateConfig(final Consumer toPropogate) { - toPropogate.accept(preMergeBesuControllerBuilder); - toPropogate.accept(mergeBesuControllerBuilder); + private BesuControllerBuilder propagateConfig(final Consumer toPropagate) { + toPropagate.accept(preMergeBesuControllerBuilder); + toPropagate.accept(mergeBesuControllerBuilder); return this; } } diff --git a/besu/src/main/java/org/hyperledger/besu/services/RlpConverterServiceImpl.java b/besu/src/main/java/org/hyperledger/besu/services/RlpConverterServiceImpl.java index 53b3541a5b..d7a7b1ce66 100644 --- a/besu/src/main/java/org/hyperledger/besu/services/RlpConverterServiceImpl.java +++ b/besu/src/main/java/org/hyperledger/besu/services/RlpConverterServiceImpl.java @@ -25,7 +25,7 @@ import org.hyperledger.besu.plugin.services.rlp.RlpConverterService; import org.apache.tuweni.bytes.Bytes; -/** RLP Serialiaztion/Deserialization service. */ +/** RLP Serialization/Deserialization service. */ public class RlpConverterServiceImpl implements RlpConverterService { private final BlockHeaderFunctions blockHeaderFunctions; diff --git a/ethereum/core/src/main/java/org/hyperledger/besu/ethereum/privacy/PrivateStateGenesisAllocator.java b/ethereum/core/src/main/java/org/hyperledger/besu/ethereum/privacy/PrivateStateGenesisAllocator.java index f1a022fa7c..e011329c07 100644 --- a/ethereum/core/src/main/java/org/hyperledger/besu/ethereum/privacy/PrivateStateGenesisAllocator.java +++ b/ethereum/core/src/main/java/org/hyperledger/besu/ethereum/privacy/PrivateStateGenesisAllocator.java @@ -95,13 +95,13 @@ public class PrivateStateGenesisAllocator { managementContract.setCode(FlexibleGroupManagement.DEFAULT_GROUP_MANAGEMENT_RUNTIME_BYTECODE); // inject proxy - final MutableAccount procyContract = + final MutableAccount proxyContract = privateWorldStateUpdater.createAccount(FLEXIBLE_PRIVACY_PROXY); // this is the code for the proxy contract - procyContract.setCode(FlexibleGroupManagement.PROXY_RUNTIME_BYTECODE); + proxyContract.setCode(FlexibleGroupManagement.PROXY_RUNTIME_BYTECODE); // manually set the management contract address so the proxy can trust it - procyContract.setStorageValue( + proxyContract.setStorageValue( UInt256.ZERO, UInt256.fromBytes(Bytes32.leftPad(DEFAULT_FLEXIBLE_PRIVACY_MANAGEMENT))); } diff --git a/evm/src/main/java/org/hyperledger/besu/evm/EvmSpecVersion.java b/evm/src/main/java/org/hyperledger/besu/evm/EvmSpecVersion.java index 8dc536c7bf..5368a7fd74 100644 --- a/evm/src/main/java/org/hyperledger/besu/evm/EvmSpecVersion.java +++ b/evm/src/main/java/org/hyperledger/besu/evm/EvmSpecVersion.java @@ -63,7 +63,7 @@ public enum EvmSpecVersion { PRAGUE_EOF(0x6000, 0xc000, 1, false, "PragueEOF", "Prague + EOF. In Development"), /** Osaka evm spec version. */ OSAKA(0x6000, 0xc000, 1, false, "Osaka", "Placeholder"), - /** Amstedam evm spec version. */ + /** Amsterdam evm spec version. */ AMSTERDAM(0x6000, 0xc000, 1, false, "Amsterdam", "Placeholder"), /** Bogota evm spec version. */ BOGOTA(0x6000, 0xc000, 1, false, "Bogota", "Placeholder"), diff --git a/evm/src/main/java/org/hyperledger/besu/evm/fluent/EVMExecutor.java b/evm/src/main/java/org/hyperledger/besu/evm/fluent/EVMExecutor.java index ee80bc2d77..a046198043 100644 --- a/evm/src/main/java/org/hyperledger/besu/evm/fluent/EVMExecutor.java +++ b/evm/src/main/java/org/hyperledger/besu/evm/fluent/EVMExecutor.java @@ -1225,7 +1225,7 @@ public class EVMExecutor { } /** - * Returns the ChaindD this executor is using + * Returns the ChainID this executor is using * * @return the current chain ID */ diff --git a/nat/src/main/java/org/hyperledger/besu/nat/kubernetes/KubernetesNatManager.java b/nat/src/main/java/org/hyperledger/besu/nat/kubernetes/KubernetesNatManager.java index 0cf6bc4f76..f8af2bdddb 100644 --- a/nat/src/main/java/org/hyperledger/besu/nat/kubernetes/KubernetesNatManager.java +++ b/nat/src/main/java/org/hyperledger/besu/nat/kubernetes/KubernetesNatManager.java @@ -42,7 +42,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** - * This class describes the behaviour of the Kubernetes NAT manager. Kubernetes Nat manager add + * This class describes the behavior of the Kubernetes NAT manager. Kubernetes Nat manager add * support for Kubernetes’s NAT implementation when Besu is being run from a Kubernetes cluster */ public class KubernetesNatManager extends AbstractNatManager {