Skip to content

Commit

Permalink
spotless
Browse files Browse the repository at this point in the history
Signed-off-by: Gabriel Fukushima <[email protected]>
  • Loading branch information
gfukushima committed Apr 17, 2024
1 parent ed33ea0 commit b03d24a
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ public class GenesisCommand {
footerHeading = "%n",
footer = "Teku is licensed under the Apache License 2.0")
public void generate(
@Mixin final MockGenesisParams genesisParams, @Mixin final MinimalEth2NetworkOptions networkOptions)
@Mixin final MockGenesisParams genesisParams,
@Mixin final MinimalEth2NetworkOptions networkOptions)
throws IOException {
// Output to stdout if no file is specified
final Spec spec = networkOptions.getSpec();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public void generate(
arity = "1",
required = true,
description = "number of peerIDs to generate")
final int number) {
final int number) {
try {
validateParamsAndGenerate(params.outputFile, number);
spec.commandLine().getOut().println("Generated file " + params.outputFile);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public class TransitionCommand implements Runnable {
public int blocks(
@Mixin final InAndOutParams params,
@Parameters(paramLabel = "block", description = "Files to read blocks from (ssz or hex)")
final List<String> blockPaths) {
final List<String> blockPaths) {
return processStateTransition(
params,
(spec, state) -> {
Expand Down Expand Up @@ -116,9 +116,9 @@ public int slots(
showDefaultValue = Visibility.ALWAYS,
fallbackValue = "true",
description = "to interpret the slot number as a delta from the pre-state")
final boolean delta,
final boolean delta,
@Parameters(paramLabel = "<number>", description = "Number of slots to process")
final long number) {
final long number) {
return processStateTransition(
params,
(specProvider, state) -> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public DepositTransactionSender(
}

public SafeFuture<TransactionReceipt> sendDepositTransaction(
final BLSKeyPair validatorKeyPair,
final BLSKeyPair validatorKeyPair,
final BLSPublicKey withdrawalPublicKey,
final UInt64 amountInGwei,
final Consumer<String> commandStdOutput,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ protected Optional<Entry<String, String>> translateEntry(

@Override
protected Map.Entry<String, String> translateToArg(
final OptionSpec matchedOption, final Map.Entry<String, String> envEntry) {
final OptionSpec matchedOption, final Map.Entry<String, String> envEntry) {
return Map.entry(matchedOption.longestName(), envEntry.getValue());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ protected Optional<Entry<String, Object>> translateEntry(

@Override
protected Map.Entry<String, String> translateToArg(
final OptionSpec matchedOption, final Map.Entry<String, Object> yamlEntry) {
final OptionSpec matchedOption, final Map.Entry<String, Object> yamlEntry) {
final Object value = yamlEntry.getValue();

final String translatedValue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ public Builder store(final Consumer<StoreConfig.Builder> storeConfigBuilderConsu
}

public Builder beaconChainControllerFactory(
final BeaconChainControllerFactory beaconChainControllerFactory) {
final BeaconChainControllerFactory beaconChainControllerFactory) {
this.beaconChainControllerFactory = beaconChainControllerFactory;
return this;
}
Expand Down

0 comments on commit b03d24a

Please sign in to comment.