Skip to content

Commit

Permalink
Fix stack overflow test
Browse files Browse the repository at this point in the history
  • Loading branch information
mappum committed Oct 18, 2024
1 parent 097bc8f commit 61e0018
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/proofs/chunk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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![]));
Expand Down

0 comments on commit 61e0018

Please sign in to comment.