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
Aaryamann Challani
0fb7e0bbcb
feat: abstract shared behaviour into ZerokitMerkleTree ( #142 )
...
* feat: abstract shared behaviour into ZerokitMerkleTree
* fix: tests
2023-04-11 16:46:13 +05:30
tyshko-rostyslav
c423bdea61
chore(rln): update pmtree implementation ( #125 )
...
* most changes
* fmt
* hide tests back under feature
* grooming
* changed `SledConfig`
* requested change: rm `dbpath`
---------
Co-authored-by: tyshkor <tyshko1@gmail.com>
2023-03-03 10:33:39 +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