arnaucube
arnaucube/miden-cryptoPublic Self-hosted repository
reexport (#273)

Philippe Laferrière plafer@protonmail.com
Tue, 06 Feb 2024 14:51:57 -0500
commit

a9475b2a2def86928f11f9d711fa3aac7f81f29f

parent

e55b3ed2ce56d189f9cc6836348bf3c9967d1c51

2 files changed, 5 insertions(+), 2 deletions(-)

jump to
M src/merkle/mod.rs → src/merkle/mod.rs

@@ -22,7 +22,10 @@ mod path;

pub use path::{MerklePath, RootPath, ValuePath}; mod smt; -pub use smt::{LeafIndex, SimpleSmt, Smt, SmtLeaf, SMT_DEPTH, SMT_MAX_DEPTH, SMT_MIN_DEPTH}; +pub use smt::{ + LeafIndex, SimpleSmt, Smt, SmtLeaf, SmtLeafError, SmtProof, SmtProofError, SMT_DEPTH, + SMT_MAX_DEPTH, SMT_MIN_DEPTH, +}; mod tiered_smt; pub use tiered_smt::{TieredSmt, TieredSmtProof, TieredSmtProofError};
M src/merkle/smt/mod.rs → src/merkle/smt/mod.rs

@@ -6,7 +6,7 @@

use super::{EmptySubtreeRoots, MerkleError, MerklePath, NodeIndex, Vec}; mod full; -pub use full::{Smt, SmtLeaf, SmtLeafError, SMT_DEPTH}; +pub use full::{Smt, SmtLeaf, SmtLeafError, SmtProof, SmtProofError, SMT_DEPTH}; mod simple; pub use simple::SimpleSmt;