This commit is contained in:
Michael Sproul
2025-01-06 15:04:32 +11:00
parent 2e86585b47
commit 32483d385b
2 changed files with 3 additions and 2 deletions

View File

@@ -1460,7 +1460,8 @@ pub async fn block_seen_on_gossip_with_some_blobs() {
let blobs = blobs.expect("should have some blobs");
assert!(
blobs.0.len() >= 2,
"need at least 2 blobs for partial reveal"
"need at least 2 blobs for partial reveal, got: {}",
blobs.0.len()
);
let partial_kzg_proofs = vec![*blobs.0.first().unwrap()];

View File

@@ -41,7 +41,7 @@ use std::slice::SliceIndex;
/// // Push a value to if it _does_ exceed the maximum.
/// assert!(long.push(6).is_err());
///
/// let mut uninit = RuntimeVariableList::empty_unitialized();
/// let mut uninit = RuntimeVariableList::empty_uninitialized();
/// assert!(uninit.push(5).is_err());
///
/// // Set max_len to allow mutation.