Thanks for the library, it's working really well for me so far 👍
I have a use case where I am using axum and it's TypedHeader struct and I want to decode a header to a struct that includes a MerkleProof::<Sha256> but I can't as it does not implement Eq or PartialEq. I would be able to workaround this by storing a Vec<u8> and lazily decoding to MerkleProof elsewhere in the code but that is awkward.
This small change derives Debug, Eq and PartialEq for MerkleProof. All tests continue to pass.
Thanks for the library, it's working really well for me so far 👍
I have a use case where I am using axum and it's
TypedHeader
struct and I want to decode a header to a struct that includes aMerkleProof::<Sha256>
but I can't as it does not implementEq
orPartialEq
. I would be able to workaround this by storing aVec<u8>
and lazily decoding toMerkleProof
elsewhere in the code but that is awkward.This small change derives
Debug
,Eq
andPartialEq
forMerkleProof
. All tests continue to pass.