chore: fix some typos (#7438)

Signed-off-by: MASDXI <sirawitt42@gmail.com>
pull/7452/head
sirawt 4 months ago committed by GitHub
parent 745d353027
commit 8fc80ade8d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      besu/src/main/java/org/hyperledger/besu/controller/TransitionBesuControllerBuilder.java
  2. 2
      besu/src/main/java/org/hyperledger/besu/services/RlpConverterServiceImpl.java
  3. 6
      ethereum/core/src/main/java/org/hyperledger/besu/ethereum/privacy/PrivateStateGenesisAllocator.java
  4. 2
      evm/src/main/java/org/hyperledger/besu/evm/EvmSpecVersion.java
  5. 2
      evm/src/main/java/org/hyperledger/besu/evm/fluent/EVMExecutor.java
  6. 2
      nat/src/main/java/org/hyperledger/besu/nat/kubernetes/KubernetesNatManager.java

@ -413,9 +413,9 @@ public class TransitionBesuControllerBuilder extends BesuControllerBuilder {
return propagateConfig(z -> z.dataStorageConfiguration(dataStorageConfiguration));
}
private BesuControllerBuilder propagateConfig(final Consumer<BesuControllerBuilder> toPropogate) {
toPropogate.accept(preMergeBesuControllerBuilder);
toPropogate.accept(mergeBesuControllerBuilder);
private BesuControllerBuilder propagateConfig(final Consumer<BesuControllerBuilder> toPropagate) {
toPropagate.accept(preMergeBesuControllerBuilder);
toPropagate.accept(mergeBesuControllerBuilder);
return this;
}
}

@ -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;

@ -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)));
}

@ -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"),

@ -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
*/

@ -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 Kubernetess NAT implementation when Besu is being run from a Kubernetes cluster
*/
public class KubernetesNatManager extends AbstractNatManager {

Loading…
Cancel
Save