zerokit icon indicating copy to clipboard operation
zerokit copied to clipboard

Expose set_leaves_from and init_tree_with_leaves to rln-wasm

Open rymnc opened this issue 2 years ago • 0 comments

Problem

The rln-wasm crate does not have the api to initialise a tree with a given set of leaves, or to set leaves in a batch from a provided index.

Related RLN PR: #63

Acceptance Criteria

  • [ ] set_leaves_from in rln-wasm
  • [ ] init_tree_with_leaves in rln-wasm

rymnc avatar Nov 02 '22 09:11 rymnc