Skip to content

Commit

Permalink
Add Nico's suggestion
Browse files Browse the repository at this point in the history
Co-authored-by: Nico Flaig <[email protected]>
  • Loading branch information
kevaundray and nflaig committed Aug 16, 2024
1 parent a345529 commit ee128da
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/beacon-node/src/util/kzg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ export let ckzg: {
/** @deprecated Use `computeCellsAndKzgProofs` */
computeCells(blob: Uint8Array): Uint8Array[];
computeCellsAndKzgProofs(blob: Uint8Array): [Uint8Array[], Uint8Array[]];
// Deprecated: Now being done internally in `recoverCellsAndKzgProofs`
/** @deprecated Now being done internally in `recoverCellsAndKzgProofs` */
cellsToBlob(cells: Uint8Array[]): Uint8Array;
// Deprecated: Use recoverCellsAndKzgProofs
/** @deprecated Use recoverCellsAndKzgProofs */
recoverAllCells(cellIds: number[], cells: Uint8Array[]): Uint8Array[];
recoverCellsAndKzgProofs(cellIndices: number[], cells: Uint8Array[]): [Uint8Array[], Uint8Array[]];
// Deprecated: not used and removed from specs
/** @deprecated This method is not used and has been removed from specs */
verifyCellKzgProof(commitmentBytes: Uint8Array, cellId: number, cell: Uint8Array, proofBytes: Uint8Array): boolean;
// This API will no longer take rowIndices in the future, in particular the rowIndices is no longer used.
/** @deprecated This API will no longer take rowIndices in the future, in particular the rowIndices is no longer used. */
verifyCellKzgProofBatch(
commitmentsBytes: Uint8Array[],
rowIndices: number[],
Expand Down

0 comments on commit ee128da

Please sign in to comment.