Aaryamann Challani
d8f813bc2e
chore(rln): refactor resource initialization ( #260 )
...
* chore(rln): optimize into Lazy OnceCells
* fix
* fix: dont change duration
* fix: increase duration?
* chore: add backtrace
* fix: remove plotter to avoid f64 range failure
* fix: remove ci alteration
* fix: use arc over witness calc
* fix: remove more lifetimes
* fix: benchmark correct fn call, not the getter
* fix: bench config
2024-06-17 13:43:09 +05:30
Ekaterina Broslavskaya
820240d8c0
fix json serialization ( #253 )
2024-05-21 12:42:26 +07:00
Ekaterina Broslavskaya
4931b25237
fix(rln): Remove resources folder, update missed docs ( #246 )
...
* remove resources folder, update missed docs
* refactor
2024-05-10 18:13:00 +07:00
Ekaterina Broslavskaya
51939be4a8
chore(rln): tests and benchmarks review ( #243 )
...
* add set benches
* add set benches
* refactor tests
* took out the general functions in ffi
* rollback file reader
2024-05-09 17:37:34 +07:00
Ekaterina Broslavskaya
8581ac0b78
chore(rln): add ark-zkey support ( #242 )
...
* Add Submodule
* Add arkzkey
* make arkzkey support as feature
* update submodule url
* add abstract around feature
* new bench file
* update ci
2024-05-06 18:09:22 +07:00
tyshko-rostyslav
a372053047
Remove height 32 from RLN ( #239 )
...
* rm tree height from circuit
* rm corresponding logic from ffi
* fm from tests
* rm height 32 resources
* remove `TEST_PARAMETERS_INDEX` and related comments
2024-04-29 18:26:29 +05:30
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
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
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
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