Skip to content

Commit

Permalink
rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
tbenr committed Nov 22, 2024
1 parent f286cb5 commit 0dac48b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
import tech.pegasys.teku.spec.datastructures.execution.versions.electra.DepositRequestSchema;
import tech.pegasys.teku.spec.datastructures.execution.versions.electra.ExecutionRequestsSchema;
import tech.pegasys.teku.spec.datastructures.execution.versions.electra.WithdrawalRequestSchema;
import tech.pegasys.teku.spec.datastructures.operations.AttestationSchema;
import tech.pegasys.teku.spec.datastructures.operations.SingleAttestation;
import tech.pegasys.teku.spec.datastructures.operations.SingleAttestationSchema;
import tech.pegasys.teku.spec.datastructures.operations.SingleAttestation;
import tech.pegasys.teku.spec.datastructures.state.versions.electra.PendingConsolidation;
import tech.pegasys.teku.spec.datastructures.state.versions.electra.PendingConsolidation.PendingConsolidationSchema;
import tech.pegasys.teku.spec.datastructures.state.versions.electra.PendingDeposit;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,12 +191,12 @@ public static SchemaRegistryBuilder create() {
.addProvider(createWithdrawalRequestSchemaProvider())
.addProvider(createConsolidationRequestSchemaProvider())
.addProvider(createExecutionRequestsSchemaProvider())
.addProvider(createSingleAttestationSchemaProvider());
.addProvider(createSingleAttestationSchemaProvider());
}

private static SchemaProvider<?> createSingleAttestationSchemaProvider() {
return constantProviderBuilder(SINGLE_ATTESTATION_SCHEMA)
.withCreator(ELECTRA, (registry, specConfig) -> new SingleAttestationSchema())
return providerBuilder(SINGLE_ATTESTATION_SCHEMA)
.withCreator(ELECTRA, (registry, specConfig, schemaName) -> new SingleAttestationSchema())
.build();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public class SchemaTypes {
public static final SchemaId<ConsolidationRequestSchema> CONSOLIDATION_REQUEST_SCHEMA =
create("CONSOLIDATION_REQUEST_SCHEMA");
public static final SchemaId<SingleAttestationSchema> SINGLE_ATTESTATION_SCHEMA =
create("SINGLE_ATTESTATION_SCHEMA");
create("SINGLE_ATTESTATION_SCHEMA");

private SchemaTypes() {
// Prevent instantiation
Expand Down

0 comments on commit 0dac48b

Please sign in to comment.