#43168 [BC-Insight] Under normal usage of the blockchain, transactions will not be persisted
Description
Description
if transactions.len() > 0 {
info!(
target: "movement_timing",
batch_id = %batch_id,
transaction_count = transactions.len(),
"built_batch_write"
);
let batch_write = BatchWriteRequest { blobs: transactions };
let mut buf = Vec::new();
batch_write.encode_raw(&mut buf);
info!("batch_write size: {}", buf.len());
// spawn the actual batch write request in the background
let mut da_light_node_client = self.da_light_node_client.clone();
tokio::spawn(async move {
match da_light_node_client.batch_write(batch_write.clone()).await {
Ok(_) => {
info!(
target: "movement_timing",
batch_id = %batch_id,
"batch_write_success"
);
return;
}
Err(e) => {
warn!("failed to write batch to DA: {:?} {:?}", e, batch_id);
}
}
});
}
Ok(Continue(()))
}Impact
Recommended Mitigation Steps
Proof of Concept
Proof of Concept
Previous#43184 [BC-Insight] Vulnerable `Secp256k1` version allows validation of malformed signaturesNext#43186 [BC-Insight] Flawed documentation when streaming da blobs leads to confusion
Was this helpful?