From 048a9555f4865fade29a7b5d7a924de5a4dd8879 Mon Sep 17 00:00:00 2001 From: Nikolai Golub Date: Mon, 19 Jan 2026 09:46:39 +0100 Subject: [PATCH] Adding derive `Eq, PartialEq` to MultiProof --- core/src/proof/multi_proof.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/proof/multi_proof.rs b/core/src/proof/multi_proof.rs index a52571b520..e4a70b682e 100644 --- a/core/src/proof/multi_proof.rs +++ b/core/src/proof/multi_proof.rs @@ -18,7 +18,7 @@ use bitvec::prelude::*; use core::{cmp::Ordering, ops::Range}; /// This struct includes the terminal node and its depth -#[derive(Debug, Clone)] +#[derive(Debug, Clone, Eq, PartialEq)] #[cfg_attr( feature = "borsh", derive(borsh::BorshDeserialize, borsh::BorshSerialize) @@ -32,7 +32,7 @@ pub struct MultiPathProof { } /// A proof of multiple paths through the trie. -#[derive(Debug, Clone)] +#[derive(Debug, Clone, Eq, PartialEq)] #[cfg_attr( feature = "borsh", derive(borsh::BorshDeserialize, borsh::BorshSerialize)