Skip to content

Commit

Permalink
chore: fix some typos in comments (#7005)
Browse files Browse the repository at this point in the history
Signed-off-by: knowmost <knowmost@outlook.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
  • Loading branch information
knowmost and macfarla authored Apr 30, 2024
1 parent 9cd50e1 commit eb6c349
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ protected AbstractBlockCreator(
* body, and will supply an empty Ommers list.
*
* <p>Once transactions have been selected and applied to a disposable/temporary world state, the
* block reward is paid to the relevant coinbase, and a sealable header is constucted.
* block reward is paid to the relevant coinbase, and a sealable header is constructed.
*
* <p>The sealableHeader is then provided to child instances for sealing (i.e. proof of work or
* otherwise).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public void locateBesuPrivateTransactionNotFoundInAddBlob() {
}

/*
Overrride enclave so it returns 404 when searching for a single tx (first call) and when
Override enclave so it returns 404 when searching for a single tx (first call) and when
searching for the add blob (second call)
*/
private void mockEnlaveNoSingleTxOrAddBlob() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public static GasCalculator gasCalculatorForFork(final String fork) {
/**
* Run the benchmarks
*
* @param output stream to print results to (typicall System.out)
* @param output stream to print results to (typically System.out)
* @param attemptNative Should the benchmark attempt to us native libraries? (null use the
* default, false disabled, true enabled)
* @param fork the fork name to run the benchmark against.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ static long incrementMarkStatic() {
}

/**
* The last time this object was updated. Any undo requrests greater than this mark will result in
* The last time this object was updated. Any undo requests greater than this mark will result in
* no changes.
*
* @return The most recent mark.
Expand Down
2 changes: 1 addition & 1 deletion evm/src/main/java/org/hyperledger/besu/evm/EVM.java
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public int getMaxEOFVersion() {
/**
* Returns the non-fork related configuration parameters of the EVM.
*
* @return the EVM coniguration.
* @return the EVM configuration.
*/
public EvmConfiguration getEvmConfiguration() {
return evmConfiguration;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public ECRECPrecompiledContract(final GasCalculator gasCalculator) {
}

/**
* Configure a new ECRecover precompile with a specific signature algorith and gas.
* Configure a new ECRecover precompile with a specific signature algorithm and gas.
*
* @param gasCalculator the gas calculator
* @param signatureAlgorithm the algorithm (such as secp256k1 or secp256r1)
Expand Down

0 comments on commit eb6c349

Please sign in to comment.