Skip to content

Commit

Permalink
Merge branch 'develop' into rest-block-proposals
Browse files Browse the repository at this point in the history
  • Loading branch information
rkapka authored Oct 30, 2023
2 parents 320cda4 + 159a5dd commit 9e0b70e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion beacon-chain/rpc/prysm/v1alpha1/validator/unblinder.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func (u *unblinder) unblindBuilderBlock(ctx context.Context) (interfaces.SignedB
return nil, nil, errors.Wrap(err, "could not get transactions from payload")
}

if wb.Version() >= version.Bellatrix && blobsBundle != nil {
if wb.Version() >= version.Deneb && blobsBundle != nil {
log.WithField("blobCount", len(blobsBundle.Blobs))
}

Expand All @@ -124,6 +124,9 @@ func unblindBlobsSidecars(blindSidecars []*ethpb.SignedBlindedBlobSidecar, bundl
if bundle == nil {
return nil, nil
}
if len(blindSidecars) != len(bundle.Blobs) {
return nil, errors.Errorf("blob count mismatch: wanted %d but got %d", len(blindSidecars), len(bundle.Blobs))
}

sidecars := make([]*ethpb.SignedBlobSidecar, len(blindSidecars))
for i, b := range blindSidecars {
Expand Down

0 comments on commit 9e0b70e

Please sign in to comment.