From e2a48fd7ed1885e670c5263f3b1c8ed52934556c Mon Sep 17 00:00:00 2001 From: Csaba Kiraly Date: Wed, 10 Sep 2025 21:12:59 +0200 Subject: [PATCH] core/txpoo/blobpool: clarify conversion in GetBlobs Signed-off-by: Csaba Kiraly --- core/txpool/blobpool/blobpool.go | 4 ++++ 1 file changed, 4 insertions(+) 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))