#43186 [BC-Insight] Flawed documentation when streaming da blobs leads to confusion
Description
Description
let certificate_stream = self.stream_certificates().await?;while let Some(certificate) = certificate_stream.next().await {Ok(Certificate::Height(height)) if height > last_height => {
let blob_stream = self
.stream_da_blobs_between_heights(last_height, height)
.await?;
tokio::pin!(blob_stream);
while let Some(blob) = blob_stream.next().await {
yield blob?;
}
last_height = height;
}Impact
Recommendation
Proof of Concept
POC
Previous#43168 [BC-Insight] Under normal usage of the blockchain, transactions will not be persistedNext#43190 [BC-Critical] Deadlock in `submit_transaction()`
Was this helpful?