Skip to content

Commit

Permalink
rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
tbenr committed Nov 21, 2024
1 parent e400f7f commit c5e8836
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 @@ -42,9 +42,9 @@
import tech.pegasys.teku.spec.datastructures.execution.versions.electra.ExecutionRequestsSchema;
import tech.pegasys.teku.spec.datastructures.execution.versions.electra.WithdrawalRequest;
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.PendingDeposit;
import tech.pegasys.teku.spec.datastructures.state.versions.electra.PendingPartialWithdrawal;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,12 +173,12 @@ public static SchemaRegistryBuilder create() {
.addProvider(createPendingPartialWithdrawalsSchemaProvider())
.addProvider(createPendingDepositsSchemaProvider())
.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 @@ -159,7 +159,7 @@ public class SchemaTypes {
public static final SchemaId<SszListSchema<PendingDeposit, ?>> PENDING_DEPOSITS_SCHEMA =
create("PENDING_DEPOSITS_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 c5e8836

Please sign in to comment.