Commit Graph

29 Commits

Author SHA1 Message Date
Aaryamann Challani c6b7a8c0a4
Revert "remove multiplier (#184)" (#185)
This reverts commit 4ec93c5e1f.
2023-07-24 13:44:49 +05:30
Aaryamann Challani 4ec93c5e1f
remove multiplier (#184)
* chore: use crates.io dep of ethers-rs

* chore: remove multiplier package
2023-07-24 13:24:04 +05:30
Aaryamann Challani 9e44bb64dc
fix(semaphore): use fixed rev (#130) 2023-03-20 14:06:25 +05:30
tyshko-rostyslav 7ee7675d52
Redundunt dependencies (#111)
* most changes

* delete unused deps + update ark-circom

* fix build

* revert

* default deatures

* return

* кумуке 2

* try

* rm

---------

Co-authored-by: tyshkor <tyshko1@gmail.com>
2023-02-28 00:19:47 +05:30
Aaryamann Challani 062055dc5e
fix(license): add licensing info to cargo.toml (#121) 2023-02-27 11:47:55 +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 62018b4eba
Update documentation for building and testing (#120)
* chore: fix Makefile pre-build

* chore: add Makefile command to install depenedncy cargo-make

* chore: update all READMEs with instructions to install dependencies, build and test

* chore: add target to fetch all submodules
2023-02-24 11:50:51 +05:30
tyshko-rostyslav 7aba62ff51
Add rust-clippy to CI (#108)
Convert clippy warnings to errors, fix them 

---------

Co-authored-by: tyshkor <tyshko1@gmail.com>
2023-02-06 05:54:59 +01:00
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
Rahul Ghangas 1502315605
chore: Makefile and consistent usage of cargo-make (#101)
* feat: add Makefile with pre build check. add targets for build, test and clean

* feat: add workspace level build file

* chore: add skeletal build files for each crate

* chore: remove environment variable to extend workspace makefile

* chore: formatting

* chore: add release flags to all builds/tests
2023-01-26 09:19:55 +05:30
Oskar Thoren 83ef5ae3c3
chore: make clippy happy 2022-03-16 14:30:51 +08:00
Oskar Thoren 83fc39730f
chore: clippy allow unsafe in ffi 2022-03-16 14:25:13 +08:00
Oskar Thoren 292ece2945
style: cargo fmt 2022-03-16 14:18:54 +08:00
Oskar Thoren 721f3b8fa9
FFI: new -> new_circuit 2022-01-21 15:58:37 +08:00
Oskar Thoren 9507cf9fb8
FFI: Verify 2022-01-21 15:57:28 +08:00
Oskar Thoren a35392912f
FFI: Prove 2022-01-21 15:54:37 +08:00
Oskar Thoren f52ba69439
FFI: New 2022-01-21 15:54:25 +08:00
Oskar Thoren 7421c2b93b
FFI: Add buffer struct 2022-01-21 15:54:12 +08:00
Oskar Thoren a216612bed
Get rid of warnings; fmt 2022-01-20 12:52:58 +08:00
Oskar Thoren ac4056b3de
Verify fn and deserialize proof 2022-01-20 12:51:12 +08:00
Oskar Thoren 78f3ce4fdd
Serialize proof 2022-01-19 13:09:38 +08:00
Oskar Thoren b382046584
Multiplier proof test 2022-01-19 12:19:25 +08:00
Oskar Thoren c96ab25bc6
WIP: Sketch out public Rust API for Multiplier 2022-01-19 11:48:09 +08:00
Oskar Thoren b85950f827
Update deps and edition
rust-analyzer issue
2022-01-19 11:46:26 +08:00
Oskar Thoren cc4cf11583
Minimal FFI example for C and Nim 2022-01-18 11:19:17 +08:00
Oskar Thoren fb81e32977
Basic multiplier example
Taken from Circom 2 tests
2022-01-17 12:39:15 +08:00
Oskar Thoren 9e1dc8f4c6
Add Circom 2 example circuits 2022-01-17 12:34:02 +08:00
Oskar Thoren a340ea50fb
Add ark-circom dep with circom-2 flag 2022-01-17 12:08:14 +08:00
Oskar Thoren 8890b7f0d8
Add basic multipler example 2022-01-17 12:00:54 +08:00