From 61e0018196d2eff0dbb254c4043c42257cb75c2a Mon Sep 17 00:00:00 2001 From: Matt Bell Date: Fri, 18 Oct 2024 16:57:43 -0500 Subject: [PATCH] Fix stack overflow test --- src/proofs/chunk.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/proofs/chunk.rs b/src/proofs/chunk.rs index c659789..df05328 100644 --- a/src/proofs/chunk.rs +++ b/src/proofs/chunk.rs @@ -476,6 +476,7 @@ mod tests { } #[test] + #[should_panic(expected = "Tree is too large")] fn test_verify_height_stack_overflow() { let height = 5_000u32; let push_op = |i: u32| Op::Push(Node::KV(i.to_be_bytes().to_vec(), vec![]));