diff --git a/beacon_node/http_api/tests/broadcast_validation_tests.rs b/beacon_node/http_api/tests/broadcast_validation_tests.rs index e1ecf2d4fc..99ed3ef724 100644 --- a/beacon_node/http_api/tests/broadcast_validation_tests.rs +++ b/beacon_node/http_api/tests/broadcast_validation_tests.rs @@ -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()]; diff --git a/consensus/types/src/runtime_var_list.rs b/consensus/types/src/runtime_var_list.rs index 2a4b185632..60c7504726 100644 --- a/consensus/types/src/runtime_var_list.rs +++ b/consensus/types/src/runtime_var_list.rs @@ -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.