Creates an instance of ProvableDeepMerkleSubTree.
merkle root
height of tree
Optional
options: { hasher: The hash function to use, defaults to PoseidonHasherFunc; hashValue: whether to hash the value, he default is true.
Optional
hasher?: HasherProvableDeepMerkleSubTree
Private
hashPrivate
hasherPrivate
heightPrivate
nodePrivate
rootPrivate
valuePrivate
valueAdd a branch to the tree, a branch is generated by smt.prove.
Optional
value: VProvableDeepMerkleSubTree
Private
getOptional
value: VCreate a merkle proof for a key against the current root.
{BaseMerkleProof}
ProvableDeepMerkleSubTree
Update a new value for a key in the tree and return the new root of the tree.
Optional
value: V{Field}
ProvableDeepMerkleSubTree
ProvableDeepMerkleSubTree is a deep merkle subtree for working on only a few leafs in circuit.
ProvableDeepMerkleSubTree