From 63f35121a17046ee289b5f251a6c8c99e6fbb86a Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Thu, 23 Apr 2026 12:52:42 +0200 Subject: [PATCH] crypto/kzg4844: move comment about minimum required number of cells --- crypto/kzg4844/kzg4844.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/kzg4844/kzg4844.go b/crypto/kzg4844/kzg4844.go index 9aed0e952c..1c98c02974 100644 --- a/crypto/kzg4844/kzg4844.go +++ b/crypto/kzg4844/kzg4844.go @@ -212,7 +212,6 @@ func IsValidVersionedHash(h []byte) bool { // VerifyCells verifies a batch of proofs corresponding to the cells and blob commitments. // // For this function, it is sufficient to only provide some of the cells. -// For each blob being proven, the cells slice must contain at least 64 items. // // The `cellIndices` specify which of the 128 cells of each blob are given. // Note the list of indices is shared among all blobs, i.e. for a given list of indices @@ -249,6 +248,7 @@ func ComputeCells(blobs []Blob) ([]Cell, error) { } // RecoverBlobs recovers blobs from the given cells and cell indices. +// In order to successfully recover, at least DataPerBlob (64) cells must be provided. // // For the layout of cells and cellIndices, please see [VerifyCells]. func RecoverBlobs(cells []Cell, cellIndices []uint64) ([]Blob, error) {