diff --git a/crates/imt/src/imt.rs b/crates/imt/src/imt.rs index 8ae7d01..741c384 100644 --- a/crates/imt/src/imt.rs +++ b/crates/imt/src/imt.rs @@ -73,6 +73,14 @@ impl IMT { self.depth } + pub fn nodes(&self) -> Vec> { + self.nodes.clone() + } + + pub fn zeroes(&self) -> Vec { + self.zeroes.clone() + } + pub fn leaves(&self) -> Vec { self.nodes[0].clone() }