You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BorshSerialize is implemented for Vec<SparseMerkleProof<H>> for all H. Yes, it is possible to do a #[borsh(bound(deserialize = "", serialize = ""))] trick in this particular case, but for enums its not obvious.
Example
https://github.com/penumbra-zone/jmt/blob/9ba90718d36cdf376630fa036b5a54c35447982c/src/types/proof/definition.rs#L514
BorshSerialize is implemented for
Vec<SparseMerkleProof<H>>
for allH
. Yes, it is possible to do a#[borsh(bound(deserialize = "", serialize = ""))]
trick in this particular case, but for enums its not obvious.Possible solution
Linked issue: penumbra-zone/jmt#113
The text was updated successfully, but these errors were encountered: