Enhance error logging for blob transactions

This commit is contained in:
rjl493456442 2025-09-04 11:01:09 +08:00 committed by GitHub
parent ac2a6b2218
commit 14b6c739e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1346,7 +1346,7 @@ func (p *BlobPool) GetBlobs(vhashes []common.Hash, version byte) ([]*kzg4844.Blo
}
sidecar := tx.BlobTxSidecar()
if sidecar == nil {
log.Error("Blob tx without sidecar", "id", txID)
log.Error("Blob tx without sidecar", "hash", tx.Hash(), "id", txID)
continue
}
// Traverse the blobs in the transaction