Aaryamann Challani
8614b2a33a
feat: rln-v2 ( #204 )
...
* feat(rln-v2): update serde for rln-v2 (#202 )
* feat(rln-v2): update serde for rln-v2
* fix: public tests that needed to append the new fields
* s/id_commitments/rate_commitments (#205 )
* feat: rename public, protocol and update tests to use rate_commitments
* fix: into()
* `message_id` range check (#210 )
* feature: range check added
* fmt
* feature: message_id_range_check
* fix: corresponding change of types
* comments: function level
* fmt
* fix(rln): tests (#212 )
* most changes
* fix
* fix protocol tests
* fmt
* ffi tests fix
* feat(rln-v2): new artifacts, removed older ones (#211 )
* feat(rln-v2): new artifacts, removed older ones
* wip: working branch
* fix: remove more refs to epoch + rln_identifier
* Updated serde in RLN proof verification
* Updated artifacts
* chore: update
* chore: update
* hardcoded test works
* fix: proof generation and verification
* fix: rln-wasm tests
* fix: ffi tests
* fix: rln-wasm test
* fix: recover_id_secret
* Fix message (#217 )
---------
Co-authored-by: rymnc <43716372+rymnc@users.noreply.github.com>
* chore: Release
---------
Co-authored-by: tyshko-rostyslav <122977916+tyshko-rostyslav@users.noreply.github.com>
2023-10-03 21:28:21 +05:30
Aaryamann Challani
f8fc455d08
chore(rln): expose leaves_set api ( #213 )
2023-09-12 14:44:33 +05:30
Richard Ramos
7d63912ace
chore: accept tree_config in new_with_params
2023-08-07 08:48:41 -04:00
Aaryamann Challani
d1414a44c5
fix(rln): atomic operation edge case ( #195 )
...
* fix(rln): atomic operation edge case
* fmt
* fix: bug
* test: new batching mechanism
* Revert "test: new batching mechanism"
This reverts commit 396c2ec342
.
* fix: end should be max index + 1
* fix: optimization
* fix: apply cleanup
* fix: idiomatic leaf setting
* fix: abstract out logic
* fix: type aliasing for verbose types
* fix: remove_indices_and_set_leaves fn
2023-08-01 18:06:52 +05:30
Aaryamann Challani
2793fe0e24
feat(rln): expose set_metadata and get_metadata public and ffi apis ( #178 )
2023-06-15 20:35:49 +05:30
Aaryamann Challani
0d35571215
feat(rln): get_leaf ffi and public api ( #177 )
2023-06-08 21:33:09 +05:30
Aaryamann Challani
c2d386cb74
feat(rln): public, ffi for atomic ops ( #162 )
2023-05-16 10:00:32 +05:30
Aaryamann Challani
2c4b399126
feat(rln): ability to pass rln tree config in ffi ( #150 )
...
* feat(rln): pass config in rln ffi
* fix: for rln-wasm
* fix: ffi tests
* fix: clippy
* fix: test cursor
2023-05-05 15:15:33 +05:30
Aaryamann Challani
fd7d7d9318
Integrate pmtree into rln ( #147 )
...
* feat: integrate pmtree with zerokit
* fix: tests
2023-04-28 10:02:21 +05:30
tyshko-rostyslav
4f98fd8028
chore(rln): bring hash functions under a single module ( #146 )
2023-04-20 16:24:29 +05:30
Carlos Pérez
5eb98d4b33
change: Replace `u64` for `usize` for length vars ( #94 )
...
* change: Replace `u64` for `usize` for length vars
Resolves : #39
* fix(rln): usize instead of u64 in tests
* fix(rln): linter
* fix: outlier u64 usage
* fix(rln|rln-wasm): serde of usize types
---------
Co-authored-by: Aaryamann Challani <43716372+rymnc@users.noreply.github.com>
2023-03-02 19:15:58 +05:30
tyshko-rostyslav
55b00fd653
Code quality ( #114 )
...
* to color_eyre::Result 1st part
* tests and seconds batch
* third batch
* rln fixes + multiplier
* rln-wasm, assert rln, multiplier
* io to color_eyre
* fmt + clippy
* fix lint
* temporary fix of `ark-circom`
* fix ci after merge
* fmt
* fix rln tests
* minor
* fix tests
* imports
* requested change
* report + commented line + requested change
* requested changes
* fix build
* lint fixes
* better comments
---------
Co-authored-by: tyshkor <tyshko1@gmail.com>
2023-02-27 11:46:16 +05:30
Aaryamann Challani
a6145ab201
feat(rln): expose poseidon to ffi ( #112 )
2023-02-16 13:26:13 +05:30
Rahul Ghangas
cbf8c541c2
test: separate out tests ( #103 )
...
* test: move tests for rln, multiplier and private-settlements to tests folder
* test: fix rln test for poseiden tree
* test: move tests for rln-wasn to standalone tests folder
* test: move tests for semaphore and utils to standalone tests folder
* chore: cargo fmt
* test: rename test files
* test: move tests out from rln/src/public to test folder
* test: fix rln tests, move tests accessign private fields back to relevant source file
* chor: run cargo fmt
* test: move all semaphore tests to tests folder
* chore: cargo fmt
2023-01-31 21:27:28 +05:30