Skip to content

Commit

Permalink
additional removal
Browse files Browse the repository at this point in the history
  • Loading branch information
tbenr committed Nov 15, 2024
1 parent 28acd6e commit 3e845ee
Showing 1 changed file with 1 addition and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
import tech.pegasys.teku.spec.datastructures.builder.BuilderBidSchema;
import tech.pegasys.teku.spec.datastructures.builder.SignedBuilderBidSchema;
import tech.pegasys.teku.spec.datastructures.builder.versions.bellatrix.BuilderBidSchemaBellatrix;
import tech.pegasys.teku.spec.datastructures.execution.ExecutionPayloadHeaderSchema;
import tech.pegasys.teku.spec.datastructures.execution.versions.capella.ExecutionPayloadHeaderSchemaCapella;
import tech.pegasys.teku.spec.datastructures.execution.versions.capella.WithdrawalSchema;
import tech.pegasys.teku.spec.datastructures.operations.BlsToExecutionChangeSchema;
import tech.pegasys.teku.spec.datastructures.operations.SignedBlsToExecutionChangeSchema;
Expand All @@ -41,9 +39,6 @@
public class SchemaDefinitionsCapella extends SchemaDefinitionsBellatrix {

private final BeaconStateSchemaCapella beaconStateSchema;

private final ExecutionPayloadHeaderSchemaCapella executionPayloadHeaderSchemaCapella;

private final WithdrawalSchema withdrawalSchema;

private final BlsToExecutionChangeSchema blsToExecutionChangeSchema;
Expand All @@ -64,10 +59,8 @@ public SchemaDefinitionsCapella(final SchemaRegistry schemaRegistry) {
this.withdrawalSchema = schemaRegistry.get(WITHDRAWAL_SCHEMA);

this.beaconStateSchema = BeaconStateSchemaCapella.create(specConfig);
this.executionPayloadHeaderSchemaCapella =
beaconStateSchema.getLastExecutionPayloadHeaderSchema();
this.builderBidSchemaCapella =
new BuilderBidSchemaBellatrix("BuilderBidCapella", executionPayloadHeaderSchemaCapella);
new BuilderBidSchemaBellatrix("BuilderBidCapella", getExecutionPayloadHeaderSchema());
this.signedBuilderBidSchemaCapella =
new SignedBuilderBidSchema("SignedBuilderBidCapella", builderBidSchemaCapella);
}
Expand All @@ -87,11 +80,6 @@ public static SchemaDefinitionsCapella required(final SchemaDefinitions schemaDe
return beaconStateSchema;
}

@Override
public ExecutionPayloadHeaderSchema<?> getExecutionPayloadHeaderSchema() {
return executionPayloadHeaderSchemaCapella;
}

@Override
public BeaconBlockBodyBuilder createBeaconBlockBodyBuilder() {
return new BeaconBlockBodyBuilderCapella(
Expand Down

0 comments on commit 3e845ee

Please sign in to comment.