diff --git a/core/txpool/blobpool/blobpool.go b/core/txpool/blobpool/blobpool.go index 55d24c7a93..eaf95ba772 100644 --- a/core/txpool/blobpool/blobpool.go +++ b/core/txpool/blobpool/blobpool.go @@ -1331,6 +1331,10 @@ func (p *BlobPool) GetMetadata(hash common.Hash) *txpool.TxMetadata { // // This is a utility method for the engine API, enabling consensus clients to // retrieve blobs from the pools directly instead of the network. +// +// The version argument specifies the type of proofs to return, either the +// blob proofs (version 0) or the cell proofs (version 1). Proofs are computed +// on-the-fly in case of a version mismatch. func (p *BlobPool) GetBlobs(vhashes []common.Hash, version byte) ([]*kzg4844.Blob, []kzg4844.Commitment, [][]kzg4844.Proof, error) { var ( blobs = make([]*kzg4844.Blob, len(vhashes))