diff --git a/ethereum/spec/src/main/java/tech/pegasys/teku/spec/schemas/SchemaDefinitionsElectra.java b/ethereum/spec/src/main/java/tech/pegasys/teku/spec/schemas/SchemaDefinitionsElectra.java index 6c858851a1e..e6f9cdca094 100644 --- a/ethereum/spec/src/main/java/tech/pegasys/teku/spec/schemas/SchemaDefinitionsElectra.java +++ b/ethereum/spec/src/main/java/tech/pegasys/teku/spec/schemas/SchemaDefinitionsElectra.java @@ -314,25 +314,33 @@ public WithdrawalRequestSchema getWithdrawalRequestSchema() { return withdrawalRequestSchema; } + public ConsolidationRequestSchema getConsolidationRequestSchema() { + return consolidationRequestSchema; + } + public PendingDeposit.PendingDepositSchema getPendingDepositSchema() { return pendingDepositSchema; } - public SszListSchema getPendingDepositsSchema() { - return beaconStateSchema.getPendingDepositsSchema(); + public PendingPartialWithdrawal.PendingPartialWithdrawalSchema + getPendingPartialWithdrawalSchema() { + return pendingPartialWithdrawalSchema; } - public SszListSchema getPendingConsolidationsSchema() { - return beaconStateSchema.getPendingConsolidationsSchema(); + public PendingConsolidation.PendingConsolidationSchema getPendingConsolidationSchema() { + return pendingConsolidationSchema; + } + + public SszListSchema getPendingDepositsSchema() { + return beaconStateSchema.getPendingDepositsSchema(); } public SszListSchema getPendingPartialWithdrawalsSchema() { return beaconStateSchema.getPendingPartialWithdrawalsSchema(); } - public PendingPartialWithdrawal.PendingPartialWithdrawalSchema - getPendingPartialWithdrawalSchema() { - return pendingPartialWithdrawalSchema; + public SszListSchema getPendingConsolidationsSchema() { + return beaconStateSchema.getPendingConsolidationsSchema(); } @Override @@ -340,14 +348,6 @@ public Optional toVersionElectra() { return Optional.of(this); } - public PendingConsolidation.PendingConsolidationSchema getPendingConsolidationSchema() { - return pendingConsolidationSchema; - } - - public ConsolidationRequestSchema getConsolidationRequestSchema() { - return consolidationRequestSchema; - } - @Override long getMaxValidatorPerAttestation(final SpecConfig specConfig) { return (long) specConfig.getMaxValidatorsPerCommittee() * specConfig.getMaxCommitteesPerSlot();