Skip to content

Commit

Permalink
use containerName
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBratanov committed Nov 6, 2023
1 parent ff6999d commit ac6e606
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ public class BuilderBidSchemaBellatrix
implements BuilderBidSchema<BuilderBidBellatrix> {

public BuilderBidSchemaBellatrix(
final String containerName,
final ExecutionPayloadHeaderSchema<?> executionPayloadHeaderSchema) {
super(
"BuilderBidBellatrix",
containerName,
namedSchema(
"header", SszSchema.as(ExecutionPayloadHeader.class, executionPayloadHeaderSchema)),
namedSchema("value", SszPrimitiveSchemas.UINT256_SCHEMA),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,11 @@ public class BuilderBidSchemaDeneb
implements BuilderBidSchema<BuilderBidDenebImpl> {

public BuilderBidSchemaDeneb(
final String containerName,
final SpecConfigDeneb specConfig,
final ExecutionPayloadHeaderSchema<?> executionPayloadHeaderSchema) {
super(
"BuilderBidDeneb",
containerName,
namedSchema(
"header", SszSchema.as(ExecutionPayloadHeader.class, executionPayloadHeaderSchema)),
namedSchema(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ public SchemaDefinitionsBellatrix(final SpecConfigBellatrix specConfig) {
new SignedBeaconBlockSchema(beaconBlockSchema, "SignedBeaconBlockBellatrix");
this.signedBlindedBeaconBlockSchema =
new SignedBeaconBlockSchema(blindedBeaconBlockSchema, "SignedBlindedBlockBellatrix");
this.builderBidSchema = new BuilderBidSchemaBellatrix(executionPayloadHeaderSchema);
this.builderBidSchema =
new BuilderBidSchemaBellatrix("BuilderBidBellatrix", executionPayloadHeaderSchema);
this.signedBuilderBidSchema =
new SignedBuilderBidSchema("SignedBuilderBidBellatrix", builderBidSchema);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public SchemaDefinitionsCapella(final SpecConfigCapella specConfig) {
this.signedBlindedBeaconBlockSchema =
new SignedBeaconBlockSchema(blindedBeaconBlockSchema, "SignedBlindedBlockCapella");
this.builderBidSchemaCapella =
new BuilderBidSchemaBellatrix(executionPayloadHeaderSchemaCapella);
new BuilderBidSchemaBellatrix("BuilderBidCapella", executionPayloadHeaderSchemaCapella);
this.signedBuilderBidSchemaCapella =
new SignedBuilderBidSchema("SignedBuilderBidCapella", builderBidSchemaCapella);
this.historicalSummarySchema = new HistoricalSummary.HistoricalSummarySchema();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public SchemaDefinitionsDeneb(final SpecConfigDeneb specConfig) {
this.blindedBlobsBundleSchema =
new BlindedBlobsBundleSchema("BlindedBlobsBundleDeneb", specConfig);
this.builderBidSchemaDeneb =
new BuilderBidSchemaDeneb(specConfig, executionPayloadHeaderSchemaDeneb);
new BuilderBidSchemaDeneb("BuilderBidDeneb", specConfig, executionPayloadHeaderSchemaDeneb);
this.signedBuilderBidSchemaDeneb =
new SignedBuilderBidSchema("SignedBuilderBidDeneb", builderBidSchemaDeneb);

Expand Down

0 comments on commit ac6e606

Please sign in to comment.