feat: introduce recorder objects

This commit is contained in:
frisitano
2023-06-16 11:42:49 +01:00
parent cede2e57da
commit 679a30e02e
9 changed files with 541 additions and 86 deletions

View File

@@ -68,6 +68,12 @@ impl MerklePath {
}
}
impl From<MerklePath> for Vec<RpoDigest> {
fn from(path: MerklePath) -> Self {
path.nodes
}
}
impl From<Vec<RpoDigest>> for MerklePath {
fn from(path: Vec<RpoDigest>) -> Self {
Self::new(path)