zerokit/CHANGELOG.md
Aaryamann Challani 490206aa44
feat(rln): ability to set leaves from a given index (#63)
* feat(rln): ability to set leaves from a given index

* style(rln): fmt

* fix(rln): bubble the error

* revert: "fix(rln): bubble the error"

This reverts commit 40265082ba888f0a583c4e4d0b7abab9da9b7da8.

* fix(rln): replace ark::std::Zero with default

* fix(rln): ordering of ffi api

* fix(rln): use PoseidonHash::default_leaf

* chore(rln): add ffi test for batching

* docs(rln): add entry to changelog

* fix(rln): address reviews

* fix(changelog): fmt

* fix(rln): safe conversion

* fix(rln): reset tree with init func,  add comments

* chore(rln): add comment about init_tree_with_leaves

* fix(rln): comment
2022-11-03 17:49:30 +05:30

1.6 KiB

Upcoming release

Release highlights:

  • Allows consumers of zerokit RLN to set leaves to the Merkle Tree from an arbitrary index. Useful for batching updates to the Merkle Tree.

The full list of changes is below.

Features

  • Creation of set_leaves_from, which allows consumers to add leaves to a tree from a given starting index. init_tree_with_leaves internally uses set_leaves_from, with index 0.

Changes

  • Renaming of set_leaves to init_tree_with_leaves, which is a more accurate representation of the function's utility.

Fixes

  • None

2022-09-19 v0.1

Initial beta release.

This release contains:

  • RLN Module with API to manage, compute and verify RLN zkSNARK proofs and RLN primitives.
  • This can be consumed either as a Rust API or as a C FFI. The latter means it can be easily consumed through other environments, such as Go or Nim.

It also contains the following examples and experiments:

Feedback welcome! You can either open an issue or come talk to us in our Vac Discord #zerokit channel.