Skip to content

Commit

Permalink
chore: fix some typos
Browse files Browse the repository at this point in the history
Signed-off-by: MASDXI <[email protected]>
  • Loading branch information
MASDXI committed Aug 10, 2024
1 parent 745d353 commit 62b72c7
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -413,9 +413,9 @@ public BesuControllerBuilder dataStorageConfiguration(
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;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

import org.apache.tuweni.bytes.Bytes;

/** RLP Serialiaztion/Deserialization service. */
/** RLP Serialization/Deserialization service. */
public class RlpConverterServiceImpl implements RlpConverterService {

private final BlockHeaderFunctions blockHeaderFunctions;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,13 @@ public void applyGenesisToPrivateWorldState(
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)));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1225,7 +1225,7 @@ public EvmSpecVersion getEVMVersion() {
}

/**
* Returns the ChaindD this executor is using
* Returns the ChainID this executor is using
*
* @return the current chain ID
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
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 {
Expand Down

0 comments on commit 62b72c7

Please sign in to comment.