From aa90166c3841d5afe4974f318dca3b2c3145da60 Mon Sep 17 00:00:00 2001 From: Weixie Cui Date: Wed, 6 May 2026 13:23:26 +0800 Subject: [PATCH] core/txpool/blobpool: fix GetBlobs mark blob hash filled before checking sidecar version --- core/txpool/blobpool/blobpool.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/txpool/blobpool/blobpool.go b/core/txpool/blobpool/blobpool.go index efa41a0649..275c46d591 100644 --- a/core/txpool/blobpool/blobpool.go +++ b/core/txpool/blobpool/blobpool.go @@ -1502,13 +1502,13 @@ func (p *BlobPool) GetBlobs(vhashes []common.Hash, version byte) ([]*kzg4844.Blo if !ok { continue // non-interesting blob } - // Mark hash as seen. - filled[hash] = struct{}{} if sidecar.Version != version { // Skip blobs with incompatible version. Note we still track the blob hash // in `filled` here, ensuring that we do not resolve this tx another time. continue } + // Mark hash as seen. + filled[hash] = struct{}{} // Get or convert the proof. var pf []kzg4844.Proof switch version {