diff --git a/packages/consensus/src/types/utreexo.cairo b/packages/consensus/src/types/utreexo.cairo
index d370a582..e41ed777 100644
--- a/packages/consensus/src/types/utreexo.cairo
+++ b/packages/consensus/src/types/utreexo.cairo
@@ -540,37 +540,65 @@ mod tests {
#[test]
fn test_utreexo_delete() {
+ // Test data is generated using scripts/data/utreexo.py
+
let mut utreexo_state: UtreexoState = Default::default();
- let outpoint: felt252 = 0x291F8F5FC449D42C715B529E542F24A80136D18F4A85DE28829CD3DCAAC1B9C;
- // adds 2 leaves to empty utreexo
- for _ in 1..3_u8 {
- utreexo_state.add(outpoint);
- };
+ // adds 16 leaves to empty utreexo
+ utreexo_state.add(0x111111111111111111111111);
+ utreexo_state.add(0x222222222222222222222222);
+ utreexo_state.add(0x333333333333333333333333);
+ utreexo_state.add(0x444444444444444444444444);
+ utreexo_state.add(0x555555555555555555555555);
+ utreexo_state.add(0x666666666666666666666666);
+ utreexo_state.add(0x777777777777777777777777);
+ utreexo_state.add(0x888888888888888888888888);
+ utreexo_state.add(0x999999999999999999999999);
+ utreexo_state.add(0xAAAAAAAAAAAAAAAAAAAAAAAA);
+ utreexo_state.add(0xBBBBBBBBBBBBBBBBBBBBBBBB);
+ utreexo_state.add(0xCCCCCCCCCCCCCCCCCCCCCCCC);
+ utreexo_state.add(0xEEEEEEEEEEEEEEEEEEEEEEEE);
+ utreexo_state.add(0xFFFFFFFFFFFFFFFFFFFFFFFF);
+ utreexo_state.add(0xFFFFFFFFFFFFFFFFFFFFFFF0);
+ utreexo_state.add(0xFFFFFFFFFFFFFFFFFFFFFFF1);
let expected: Span