Skip to content

Commit

Permalink
migrate beacon block related schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
tbenr committed Nov 15, 2024
1 parent e3bdd8d commit d0c8e5c
Show file tree
Hide file tree
Showing 13 changed files with 175 additions and 273 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,13 @@
import tech.pegasys.teku.infrastructure.ssz.tree.TreeNode;
import tech.pegasys.teku.spec.datastructures.blocks.blockbody.versions.altair.BeaconBlockBodySchemaAltair;
import tech.pegasys.teku.spec.datastructures.blocks.blockbody.versions.bellatrix.BeaconBlockBodySchemaBellatrix;
import tech.pegasys.teku.spec.datastructures.blocks.blockbody.versions.bellatrix.BlindedBeaconBlockBodySchemaBellatrix;
import tech.pegasys.teku.spec.datastructures.blocks.blockbody.versions.capella.BeaconBlockBodySchemaCapella;
import tech.pegasys.teku.spec.datastructures.blocks.blockbody.versions.capella.BlindedBeaconBlockBodySchemaCapella;
import tech.pegasys.teku.spec.datastructures.blocks.blockbody.versions.deneb.BeaconBlockBodySchemaDeneb;
import tech.pegasys.teku.spec.datastructures.blocks.blockbody.versions.deneb.BlindedBeaconBlockBodySchemaDeneb;
import tech.pegasys.teku.spec.datastructures.blocks.blockbody.versions.electra.BeaconBlockBodySchemaElectra;
import tech.pegasys.teku.spec.datastructures.blocks.blockbody.versions.electra.BlindedBeaconBlockBodySchemaElectra;
import tech.pegasys.teku.spec.datastructures.operations.Attestation;
import tech.pegasys.teku.spec.datastructures.operations.AttesterSlashing;
import tech.pegasys.teku.spec.datastructures.operations.Deposit;
Expand Down Expand Up @@ -70,6 +74,22 @@ default Optional<BeaconBlockBodySchemaElectra<?>> toVersionElectra() {
return Optional.empty();
}

default Optional<BlindedBeaconBlockBodySchemaBellatrix<?>> toBlindedVersionBellatrix() {
return Optional.empty();
}

default Optional<BlindedBeaconBlockBodySchemaCapella<?>> toBlindedVersionCapella() {
return Optional.empty();
}

default Optional<BlindedBeaconBlockBodySchemaDeneb<?>> toBlindedVersionDeneb() {
return Optional.empty();
}

default Optional<BlindedBeaconBlockBodySchemaElectra<?>> toBlindedVersionElectra() {
return Optional.empty();
}

/**
* getBlindedNodeGeneralizedIndices
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import static tech.pegasys.teku.spec.schemas.registry.SchemaTypes.EXECUTION_PAYLOAD_HEADER_SCHEMA;

import it.unimi.dsi.fastutil.longs.LongList;
import java.util.Optional;
import java.util.function.Function;
import tech.pegasys.teku.infrastructure.async.SafeFuture;
import tech.pegasys.teku.infrastructure.ssz.SszList;
Expand All @@ -41,7 +42,6 @@
import tech.pegasys.teku.spec.datastructures.operations.Deposit;
import tech.pegasys.teku.spec.datastructures.operations.ProposerSlashing;
import tech.pegasys.teku.spec.datastructures.operations.SignedVoluntaryExit;
import tech.pegasys.teku.spec.datastructures.operations.versions.phase0.AttestationPhase0Schema;
import tech.pegasys.teku.spec.datastructures.type.SszSignature;
import tech.pegasys.teku.spec.datastructures.type.SszSignatureSchema;
import tech.pegasys.teku.spec.schemas.registry.SchemaRegistry;
Expand Down Expand Up @@ -108,8 +108,7 @@ public static BlindedBeaconBlockBodySchemaBellatrixImpl create(
namedSchema(
BlockBodyFields.ATTESTATIONS,
SszListSchema.create(
schemaRegistry.get(ATTESTATION_SCHEMA),
specConfig.getMaxAttestations())),
schemaRegistry.get(ATTESTATION_SCHEMA), specConfig.getMaxAttestations())),
namedSchema(
BlockBodyFields.DEPOSITS,
SszListSchema.create(Deposit.SSZ_SCHEMA, specConfig.getMaxDeposits())),
Expand All @@ -120,7 +119,9 @@ public static BlindedBeaconBlockBodySchemaBellatrixImpl create(
namedSchema(
BlockBodyFields.SYNC_AGGREGATE,
SyncAggregateSchema.create(specConfig.getSyncCommitteeSize())),
namedSchema(BlockBodyFields.EXECUTION_PAYLOAD_HEADER, schemaRegistry.get(EXECUTION_PAYLOAD_HEADER_SCHEMA).toVersionBellatrixRequired()));
namedSchema(
BlockBodyFields.EXECUTION_PAYLOAD_HEADER,
schemaRegistry.get(EXECUTION_PAYLOAD_HEADER_SCHEMA).toVersionBellatrixRequired()));
}

@Override
Expand Down Expand Up @@ -180,6 +181,11 @@ public ExecutionPayloadHeaderSchemaBellatrix getExecutionPayloadHeaderSchema() {
return (ExecutionPayloadHeaderSchemaBellatrix) getFieldSchema9();
}

@Override
public Optional<BlindedBeaconBlockBodySchemaBellatrix<?>> toBlindedVersionBellatrix() {
return Optional.of(this);
}

@Override
public LongList getBlindedNodeGeneralizedIndices() {
return GIndexUtil.gIdxComposeAll(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@

package tech.pegasys.teku.spec.datastructures.blocks.blockbody.versions.capella;

import static tech.pegasys.teku.spec.schemas.registry.SchemaTypes.ATTESTATION_SCHEMA;
import static tech.pegasys.teku.spec.schemas.registry.SchemaTypes.ATTESTER_SLASHING_SCHEMA;
import static tech.pegasys.teku.spec.schemas.registry.SchemaTypes.EXECUTION_PAYLOAD_HEADER_SCHEMA;
import static tech.pegasys.teku.spec.schemas.registry.SchemaTypes.SIGNED_BLS_TO_EXECUTION_CHANGE_SCHEMA;

import it.unimi.dsi.fastutil.longs.LongList;
import java.util.Optional;
import java.util.function.Function;
import tech.pegasys.teku.infrastructure.async.SafeFuture;
import tech.pegasys.teku.infrastructure.ssz.SszList;
Expand All @@ -37,18 +43,10 @@
import tech.pegasys.teku.spec.datastructures.operations.Deposit;
import tech.pegasys.teku.spec.datastructures.operations.ProposerSlashing;
import tech.pegasys.teku.spec.datastructures.operations.SignedBlsToExecutionChange;
import tech.pegasys.teku.spec.datastructures.operations.SignedBlsToExecutionChangeSchema;
import tech.pegasys.teku.spec.datastructures.operations.SignedVoluntaryExit;
import tech.pegasys.teku.spec.datastructures.operations.versions.phase0.AttestationPhase0Schema;
import tech.pegasys.teku.spec.datastructures.type.SszSignature;
import tech.pegasys.teku.spec.datastructures.type.SszSignatureSchema;
import tech.pegasys.teku.spec.schemas.registry.SchemaRegistry;
import tech.pegasys.teku.spec.schemas.registry.SchemaTypes;

import static tech.pegasys.teku.spec.schemas.registry.SchemaTypes.ATTESTATION_SCHEMA;
import static tech.pegasys.teku.spec.schemas.registry.SchemaTypes.ATTESTER_SLASHING_SCHEMA;
import static tech.pegasys.teku.spec.schemas.registry.SchemaTypes.EXECUTION_PAYLOAD_HEADER_SCHEMA;
import static tech.pegasys.teku.spec.schemas.registry.SchemaTypes.SIGNED_BLS_TO_EXECUTION_CHANGE_SCHEMA;

public class BlindedBeaconBlockBodySchemaCapellaImpl
extends ContainerSchema11<
Expand Down Expand Up @@ -115,8 +113,7 @@ public static BlindedBeaconBlockBodySchemaCapellaImpl create(
namedSchema(
BlockBodyFields.ATTESTATIONS,
SszListSchema.create(
schemaRegistry.get(ATTESTATION_SCHEMA),
specConfig.getMaxAttestations())),
schemaRegistry.get(ATTESTATION_SCHEMA), specConfig.getMaxAttestations())),
namedSchema(
BlockBodyFields.DEPOSITS,
SszListSchema.create(Deposit.SSZ_SCHEMA, specConfig.getMaxDeposits())),
Expand All @@ -133,7 +130,8 @@ public static BlindedBeaconBlockBodySchemaCapellaImpl create(
namedSchema(
BlockBodyFields.BLS_TO_EXECUTION_CHANGES,
SszListSchema.create(
schemaRegistry.get(SIGNED_BLS_TO_EXECUTION_CHANGE_SCHEMA), specConfig.getMaxBlsToExecutionChanges())));
schemaRegistry.get(SIGNED_BLS_TO_EXECUTION_CHANGE_SCHEMA),
specConfig.getMaxBlsToExecutionChanges())));
}

@Override
Expand Down Expand Up @@ -199,6 +197,11 @@ public ExecutionPayloadHeaderSchemaCapella getExecutionPayloadHeaderSchema() {
return (SszListSchema<SignedBlsToExecutionChange, ?>) getFieldSchema10();
}

@Override
public Optional<BlindedBeaconBlockBodySchemaCapella<?>> toBlindedVersionCapella() {
return Optional.of(this);
}

@Override
public LongList getBlindedNodeGeneralizedIndices() {
return GIndexUtil.gIdxComposeAll(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
package tech.pegasys.teku.spec.datastructures.blocks.blockbody.versions.deneb;

import it.unimi.dsi.fastutil.longs.LongList;
import java.util.Optional;
import java.util.function.Function;
import tech.pegasys.teku.infrastructure.async.SafeFuture;
import tech.pegasys.teku.infrastructure.ssz.SszList;
Expand Down Expand Up @@ -223,4 +224,9 @@ public LongList getBlindedNodeGeneralizedIndices() {
getChildGeneralizedIndex(getFieldIndex(BlockBodyFields.EXECUTION_PAYLOAD_HEADER)),
getExecutionPayloadHeaderSchema().getBlindedNodeGeneralizedIndices());
}

@Override
public Optional<BlindedBeaconBlockBodySchemaDeneb<?>> toBlindedVersionDeneb() {
return Optional.of(this);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,14 @@

package tech.pegasys.teku.spec.datastructures.blocks.blockbody.versions.electra;

import static tech.pegasys.teku.spec.schemas.registry.SchemaTypes.ATTESTATION_SCHEMA;
import static tech.pegasys.teku.spec.schemas.registry.SchemaTypes.BLOB_KZG_COMMITMENTS_SCHEMA;
import static tech.pegasys.teku.spec.schemas.registry.SchemaTypes.EXECUTION_PAYLOAD_HEADER_SCHEMA;
import static tech.pegasys.teku.spec.schemas.registry.SchemaTypes.EXECUTION_REQUESTS_SCHEMA;
import static tech.pegasys.teku.spec.schemas.registry.SchemaTypes.SIGNED_BLS_TO_EXECUTION_CHANGE_SCHEMA;

import it.unimi.dsi.fastutil.longs.LongList;
import java.util.Optional;
import java.util.function.Function;
import tech.pegasys.teku.infrastructure.async.SafeFuture;
import tech.pegasys.teku.infrastructure.ssz.SszList;
Expand All @@ -24,7 +31,6 @@
import tech.pegasys.teku.infrastructure.ssz.tree.GIndexUtil;
import tech.pegasys.teku.infrastructure.ssz.tree.TreeNode;
import tech.pegasys.teku.spec.config.SpecConfigElectra;
import tech.pegasys.teku.spec.datastructures.blobs.versions.deneb.BlobKzgCommitmentsSchema;
import tech.pegasys.teku.spec.datastructures.blocks.Eth1Data;
import tech.pegasys.teku.spec.datastructures.blocks.blockbody.BeaconBlockBody;
import tech.pegasys.teku.spec.datastructures.blocks.blockbody.BeaconBlockBodyBuilder;
Expand All @@ -40,9 +46,7 @@
import tech.pegasys.teku.spec.datastructures.operations.Deposit;
import tech.pegasys.teku.spec.datastructures.operations.ProposerSlashing;
import tech.pegasys.teku.spec.datastructures.operations.SignedBlsToExecutionChange;
import tech.pegasys.teku.spec.datastructures.operations.SignedBlsToExecutionChangeSchema;
import tech.pegasys.teku.spec.datastructures.operations.SignedVoluntaryExit;
import tech.pegasys.teku.spec.datastructures.operations.versions.electra.AttestationElectraSchema;
import tech.pegasys.teku.spec.datastructures.type.SszKZGCommitment;
import tech.pegasys.teku.spec.datastructures.type.SszSignature;
import tech.pegasys.teku.spec.datastructures.type.SszSignatureSchema;
Expand Down Expand Up @@ -101,10 +105,6 @@ private BlindedBeaconBlockBodySchemaElectraImpl(

public static BlindedBeaconBlockBodySchemaElectraImpl create(
final SpecConfigElectra specConfig,
final SignedBlsToExecutionChangeSchema signedBlsToExecutionChangeSchema,
final BlobKzgCommitmentsSchema blobKzgCommitmentsSchema,
final ExecutionRequestsSchema executionRequestsSchema,
final long maxValidatorsPerAttestation,
final String containerName,
final SchemaRegistry schemaRegistry) {
return new BlindedBeaconBlockBodySchemaElectraImpl(
Expand All @@ -124,10 +124,7 @@ public static BlindedBeaconBlockBodySchemaElectraImpl create(
namedSchema(
BlockBodyFields.ATTESTATIONS,
SszListSchema.create(
new AttestationElectraSchema(
maxValidatorsPerAttestation, specConfig.getMaxCommitteesPerSlot())
.castTypeToAttestationSchema(),
specConfig.getMaxAttestationsElectra())),
schemaRegistry.get(ATTESTATION_SCHEMA), specConfig.getMaxAttestationsElectra())),
namedSchema(
BlockBodyFields.DEPOSITS,
SszListSchema.create(Deposit.SSZ_SCHEMA, specConfig.getMaxDeposits())),
Expand All @@ -140,13 +137,16 @@ public static BlindedBeaconBlockBodySchemaElectraImpl create(
SyncAggregateSchema.create(specConfig.getSyncCommitteeSize())),
namedSchema(
BlockBodyFields.EXECUTION_PAYLOAD_HEADER,
new ExecutionPayloadHeaderSchemaDeneb(specConfig)),
schemaRegistry.get(EXECUTION_PAYLOAD_HEADER_SCHEMA).toVersionDenebRequired()),
namedSchema(
BlockBodyFields.BLS_TO_EXECUTION_CHANGES,
SszListSchema.create(
signedBlsToExecutionChangeSchema, specConfig.getMaxBlsToExecutionChanges())),
namedSchema(BlockBodyFields.BLOB_KZG_COMMITMENTS, blobKzgCommitmentsSchema),
namedSchema(BlockBodyFields.EXECUTION_REQUESTS, executionRequestsSchema));
schemaRegistry.get(SIGNED_BLS_TO_EXECUTION_CHANGE_SCHEMA),
specConfig.getMaxBlsToExecutionChanges())),
namedSchema(
BlockBodyFields.BLOB_KZG_COMMITMENTS, schemaRegistry.get(BLOB_KZG_COMMITMENTS_SCHEMA)),
namedSchema(
BlockBodyFields.EXECUTION_REQUESTS, schemaRegistry.get(EXECUTION_REQUESTS_SCHEMA)));
}

@Override
Expand Down Expand Up @@ -237,4 +237,9 @@ public LongList getBlindedNodeGeneralizedIndices() {
getChildGeneralizedIndex(getFieldIndex(BlockBodyFields.EXECUTION_PAYLOAD_HEADER)),
getExecutionPayloadHeaderSchema().getBlindedNodeGeneralizedIndices());
}

@Override
public Optional<BlindedBeaconBlockBodySchemaElectra<?>> toBlindedVersionElectra() {
return Optional.of(this);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@

import static tech.pegasys.teku.spec.schemas.registry.SchemaTypes.AGGREGATE_AND_PROOF_SCHEMA;
import static tech.pegasys.teku.spec.schemas.registry.SchemaTypes.BEACON_BLOCK_BODY_SCHEMA;
import static tech.pegasys.teku.spec.schemas.registry.SchemaTypes.BEACON_BLOCK_SCHEMA;
import static tech.pegasys.teku.spec.schemas.registry.SchemaTypes.SIGNED_AGGREGATE_AND_PROOF_SCHEMA;
import static tech.pegasys.teku.spec.schemas.registry.SchemaTypes.SIGNED_BEACON_BLOCK_SCHEMA;

import com.google.common.base.Preconditions;
import java.util.Optional;
Expand All @@ -30,7 +32,6 @@
import tech.pegasys.teku.spec.datastructures.blocks.blockbody.BeaconBlockBodyBuilder;
import tech.pegasys.teku.spec.datastructures.blocks.blockbody.BeaconBlockBodySchema;
import tech.pegasys.teku.spec.datastructures.blocks.blockbody.versions.altair.BeaconBlockBodyBuilderAltair;
import tech.pegasys.teku.spec.datastructures.blocks.blockbody.versions.altair.BeaconBlockBodySchemaAltairImpl;
import tech.pegasys.teku.spec.datastructures.lightclient.LightClientBootstrapSchema;
import tech.pegasys.teku.spec.datastructures.lightclient.LightClientHeaderSchema;
import tech.pegasys.teku.spec.datastructures.lightclient.LightClientUpdateResponseSchema;
Expand Down Expand Up @@ -83,9 +84,8 @@ public SchemaDefinitionsAltair(final SchemaRegistry schemaRegistry) {
this.signedAggregateAndProofSchema = schemaRegistry.get(SIGNED_AGGREGATE_AND_PROOF_SCHEMA);
this.beaconStateSchema = BeaconStateSchemaAltair.create(specConfig);
this.beaconBlockBodySchema = schemaRegistry.get(BEACON_BLOCK_BODY_SCHEMA);
this.beaconBlockSchema = new BeaconBlockSchema(beaconBlockBodySchema, "BeaconBlockAltair");
this.signedBeaconBlockSchema =
new SignedBeaconBlockSchema(beaconBlockSchema, "SignedBeaconBlockAltair");
this.beaconBlockSchema = schemaRegistry.get(BEACON_BLOCK_SCHEMA);
this.signedBeaconBlockSchema = schemaRegistry.get(SIGNED_BEACON_BLOCK_SCHEMA);
this.syncCommitteeContributionSchema = SyncCommitteeContributionSchema.create(specConfig);
this.contributionAndProofSchema =
ContributionAndProofSchema.create(syncCommitteeContributionSchema);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@

import static com.google.common.base.Preconditions.checkArgument;
import static tech.pegasys.teku.spec.schemas.registry.SchemaTypes.BLINDED_BEACON_BLOCK_BODY_SCHEMA;
import static tech.pegasys.teku.spec.schemas.registry.SchemaTypes.BLINDED_BEACON_BLOCK_SCHEMA;
import static tech.pegasys.teku.spec.schemas.registry.SchemaTypes.EXECUTION_PAYLOAD_HEADER_SCHEMA;
import static tech.pegasys.teku.spec.schemas.registry.SchemaTypes.EXECUTION_PAYLOAD_SCHEMA;
import static tech.pegasys.teku.spec.schemas.registry.SchemaTypes.SIGNED_BLINDED_BEACON_BLOCK_SCHEMA;

import java.util.Optional;
import tech.pegasys.teku.spec.config.SpecConfigBellatrix;
Expand All @@ -29,9 +31,7 @@
import tech.pegasys.teku.spec.datastructures.blocks.blockbody.BeaconBlockBodyBuilder;
import tech.pegasys.teku.spec.datastructures.blocks.blockbody.BeaconBlockBodySchema;
import tech.pegasys.teku.spec.datastructures.blocks.blockbody.versions.bellatrix.BeaconBlockBodyBuilderBellatrix;
import tech.pegasys.teku.spec.datastructures.blocks.blockbody.versions.bellatrix.BeaconBlockBodySchemaBellatrixImpl;
import tech.pegasys.teku.spec.datastructures.blocks.blockbody.versions.bellatrix.BlindedBeaconBlockBodySchemaBellatrix;
import tech.pegasys.teku.spec.datastructures.blocks.blockbody.versions.bellatrix.BlindedBeaconBlockBodySchemaBellatrixImpl;
import tech.pegasys.teku.spec.datastructures.builder.BuilderBidSchema;
import tech.pegasys.teku.spec.datastructures.builder.BuilderPayloadSchema;
import tech.pegasys.teku.spec.datastructures.builder.SignedBuilderBidSchema;
Expand All @@ -49,7 +49,6 @@ public class SchemaDefinitionsBellatrix extends SchemaDefinitionsAltair {
private final ExecutionPayloadSchema<?> executionPayloadSchema;
private final BlindedBeaconBlockBodySchemaBellatrix<?> blindedBeaconBlockBodySchema;
private final BeaconBlockSchema blindedBeaconBlockSchema;
private final SignedBeaconBlockSchema signedBeaconBlockSchema;
private final SignedBeaconBlockSchema signedBlindedBeaconBlockSchema;
private final ExecutionPayloadHeaderSchema<?> executionPayloadHeaderSchema;
private final BuilderBidSchema<?> builderBidSchema;
Expand All @@ -63,12 +62,8 @@ public SchemaDefinitionsBellatrix(final SchemaRegistry schemaRegistry) {
this.executionPayloadSchema = schemaRegistry.get(EXECUTION_PAYLOAD_SCHEMA);
this.executionPayloadHeaderSchema = schemaRegistry.get(EXECUTION_PAYLOAD_HEADER_SCHEMA);
this.blindedBeaconBlockBodySchema = schemaRegistry.get(BLINDED_BEACON_BLOCK_BODY_SCHEMA);
this.blindedBeaconBlockSchema =
new BeaconBlockSchema(blindedBeaconBlockBodySchema, "BlindedBlockBellatrix");
this.signedBeaconBlockSchema =
new SignedBeaconBlockSchema(beaconBlockSchema, "SignedBeaconBlockBellatrix");
this.signedBlindedBeaconBlockSchema =
new SignedBeaconBlockSchema(blindedBeaconBlockSchema, "SignedBlindedBlockBellatrix");
this.blindedBeaconBlockSchema = schemaRegistry.get(BLINDED_BEACON_BLOCK_SCHEMA);
this.signedBlindedBeaconBlockSchema = schemaRegistry.get(SIGNED_BLINDED_BEACON_BLOCK_SCHEMA);
this.builderBidSchema =
new BuilderBidSchemaBellatrix("BuilderBidBellatrix", executionPayloadHeaderSchema);
this.signedBuilderBidSchema =
Expand All @@ -90,11 +85,6 @@ public static SchemaDefinitionsBellatrix required(final SchemaDefinitions schema
return beaconStateSchema;
}

@Override
public SignedBeaconBlockSchema getSignedBeaconBlockSchema() {
return signedBeaconBlockSchema;
}

@Override
public BeaconBlockSchema getBlindedBeaconBlockSchema() {
return blindedBeaconBlockSchema;
Expand All @@ -110,25 +100,21 @@ public SignedBeaconBlockSchema getSignedBlindedBeaconBlockSchema() {
return signedBlindedBeaconBlockSchema;
}


@Override
public BlockContainerSchema<BlockContainer> getBlindedBlockContainerSchema() {
return getBlindedBeaconBlockSchema().castTypeToBlockContainer();
}

@Override
public SignedBlockContainerSchema<SignedBlockContainer> getSignedBlockContainerSchema() {
return getSignedBeaconBlockSchema().castTypeToSignedBlockContainer();
}

@Override
public SignedBlockContainerSchema<SignedBlockContainer> getSignedBlindedBlockContainerSchema() {
return getSignedBlindedBeaconBlockSchema().castTypeToSignedBlockContainer();
}

@Override
public BeaconBlockBodyBuilder createBeaconBlockBodyBuilder() {
return new BeaconBlockBodyBuilderBellatrix(getBeaconBlockBodySchema().toVersionBellatrix().orElseThrow(), blindedBeaconBlockBodySchema);
return new BeaconBlockBodyBuilderBellatrix(
getBeaconBlockBodySchema().toVersionBellatrix().orElseThrow(),
blindedBeaconBlockBodySchema);
}

public ExecutionPayloadSchema<?> getExecutionPayloadSchema() {
Expand Down
Loading

0 comments on commit d0c8e5c

Please sign in to comment.