Skip to content

Commit

Permalink
fix spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBratanov committed Jun 21, 2024
1 parent 7d798c1 commit a47b0dd
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -316,12 +316,11 @@ private void processOperation(
case BLS_TO_EXECUTION_CHANGE -> processBlsToExecutionChange(testDefinition, state, processor);
case WITHDRAWAL -> processWithdrawal(testDefinition, state, processor);
case DEPOSIT_REQUEST -> processDepositRequest(testDefinition, state, processor);
case EXECUTION_LAYER_WITHDRAWAL_REQUEST ->
processExecutionLayerWithdrawalRequest(testDefinition, state, processor);
case EXECUTION_LAYER_WITHDRAWAL_REQUEST -> processExecutionLayerWithdrawalRequest(
testDefinition, state, processor);
case CONSOLIDATION -> processConsolidation(testDefinition, state, processor);
default ->
throw new UnsupportedOperationException(
"Operation " + operation + " not implemented in OperationTestExecutor");
default -> throw new UnsupportedOperationException(
"Operation " + operation + " not implemented in OperationTestExecutor");
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,13 @@ public WithdrawalSchema getWithdrawalSchemaRequired() {

@Override
public SszListSchema<DepositRequest, ? extends SszList<DepositRequest>>
getDepositRequestsSchemaRequired() {
throw new IllegalStateException("Attempted to get a deposit receipts schema from bellatrix");
getDepositRequestsSchemaRequired() {
throw new IllegalStateException("Attempted to get a deposit requests schema from bellatrix");
}

@Override
public DepositRequestSchema getDepositRequestSchemaRequired() {
throw new IllegalStateException("Attempted to get a deposit receipt schema from bellatrix");
throw new IllegalStateException("Attempted to get a deposit request schema from bellatrix");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,13 @@ public WithdrawalSchema getWithdrawalSchemaRequired() {

@Override
public SszListSchema<DepositRequest, ? extends SszList<DepositRequest>>
getDepositRequestsSchemaRequired() {
throw new IllegalStateException("Attempted to get a deposit receipts schema from capella");
getDepositRequestsSchemaRequired() {
throw new IllegalStateException("Attempted to get a deposit requests schema from capella");
}

@Override
public DepositRequestSchema getDepositRequestSchemaRequired() {
throw new IllegalStateException("Attempted to get a deposit receipt schema from capella");
throw new IllegalStateException("Attempted to get a deposit request schema from capella");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,13 +133,13 @@ public WithdrawalSchema getWithdrawalSchemaRequired() {

@Override
public SszListSchema<DepositRequest, ? extends SszList<DepositRequest>>
getDepositRequestsSchemaRequired() {
throw new IllegalStateException("Attempted to get a deposit receipts schema from deneb");
getDepositRequestsSchemaRequired() {
throw new IllegalStateException("Attempted to get a deposit requests schema from deneb");
}

@Override
public DepositRequestSchema getDepositRequestSchemaRequired() {
throw new IllegalStateException("Attempted to get a deposit receipt schema from deneb");
throw new IllegalStateException("Attempted to get a deposit request schema from deneb");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

public class DepositRequest
extends Container5<
DepositRequest, SszPublicKey, SszBytes32, SszUInt64, SszSignature, SszUInt64> {
DepositRequest, SszPublicKey, SszBytes32, SszUInt64, SszSignature, SszUInt64> {

DepositRequest(
final DepositRequestSchema schema,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ protected void processOperationsNoValidation(
.orElseThrow(
() ->
new BlockProcessingException(
"Deposit receipts were not found during block processing.")));
"Deposit requests were not found during block processing.")));
processConsolidations(state, BeaconBlockBodyElectra.required(body).getConsolidations());
});
}
Expand Down

0 comments on commit a47b0dd

Please sign in to comment.