Skip to content

Commit

Permalink
sources: Fix godoc of GetBlobSidecars
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianst committed Jan 23, 2024
1 parent 172a799 commit b0c6764
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions op-service/sources/l1_beacon_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,10 @@ func (cl *L1BeaconClient) GetTimeToSlotFn(ctx context.Context) (TimeToSlotFn, er
return cl.timeToSlotFn, nil
}

// GetBlobSidecars fetches blob sidecars that were confirmed in the specified L1 block with the
// given indexed hashes. Order of the returned sidecars is not guaranteed, and blob data is not
// checked for validity.
// GetBlobSidecars fetches blob sidecars that were confirmed in the specified
// L1 block with the given indexed hashes.
// Order of the returned sidecars is guaranteed to be that of the hashes.
// Blob data is not checked for validity.
func (cl *L1BeaconClient) GetBlobSidecars(ctx context.Context, ref eth.L1BlockRef, hashes []eth.IndexedBlobHash) ([]*eth.BlobSidecar, error) {
if len(hashes) == 0 {
return []*eth.BlobSidecar{}, nil
Expand Down

0 comments on commit b0c6764

Please sign in to comment.