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..8a56b27afbb 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,10 +314,23 @@ public WithdrawalRequestSchema getWithdrawalRequestSchema() { return withdrawalRequestSchema; } + public ConsolidationRequestSchema getConsolidationRequestSchema() { + return consolidationRequestSchema; + } + public PendingDeposit.PendingDepositSchema getPendingDepositSchema() { return pendingDepositSchema; } + public PendingPartialWithdrawal.PendingPartialWithdrawalSchema + getPendingPartialWithdrawalSchema() { + return pendingPartialWithdrawalSchema; + } + + public PendingConsolidation.PendingConsolidationSchema getPendingConsolidationSchema() { + return pendingConsolidationSchema; + } + public SszListSchema getPendingDepositsSchema() { return beaconStateSchema.getPendingDepositsSchema(); } @@ -330,24 +343,11 @@ public PendingDeposit.PendingDepositSchema getPendingDepositSchema() { return beaconStateSchema.getPendingPartialWithdrawalsSchema(); } - public PendingPartialWithdrawal.PendingPartialWithdrawalSchema - getPendingPartialWithdrawalSchema() { - return pendingPartialWithdrawalSchema; - } - @Override 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();