Commit Graph

26 Commits

Author SHA1 Message Date
Aaryamann Challani c83c9902d7
chore: use crates.io dep of ethers-rs (#183) 2023-07-24 12:50:30 +05:30
Aaryamann Challani 131cacab35
chore: bump ethers-core (#182)
* fix: version

* fix: clippy
2023-07-24 12:21:00 +05:30
rymnc 90fdfb9d78
fix: version of ethers-core 2023-07-03 20:08:37 +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
Aaryamann Challani e21e9954ac
fix(semaphore): revert ark-circom dependency (#116) 2023-02-16 12:32:43 +05:30
Carlos Pérez de5eb2066a
change: Replace profile overwrites to Workspace Cargo.toml (#95)
Since profile info specified inside workspace members `Cargo.toml`'s
is ignored by Cargo, this replaces the place to specify these details
for the workspace-level `Cargo.toml`.

NOTE that `panic` and `rpath` aren't supported with the Overwritting
feature. Therefore, the only required thing (if considered necessary) is
to create a new profile which also enables these things.

Resolves: #93
2023-02-08 12:38:42 +01:00
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
G e69f6a67d8
fix(semaphore): restore and update original semaphore git dependency 2022-12-12 00:40:08 +01:00
G 3427729f7e
fix(semaphore): temporarily use fixed semaphore-rs fork (#79)
* fix(semaphore): temporarily use fixed semaphore-rs fork

* fix(semaphore): update semaphore logic to work with latest master of semaphore-rs
2022-11-23 10:55:12 +01:00
s1fr0 8e065d4a83
fix(rln): fixed proof generation/verification and E2E tests
chore(rln): clippy and fmt

fix(rln): cargo fix

ci: update submodules

chore(rln): remove unnecessary test, restyle

fix(rln): switch to field type, add field arithmetic

feat(rln): public input computation from witness

fix(rln): fix semaphore crate version
2022-06-09 15:57:03 +02:00
Oskar Thoren 8171439a44
style(semaphore): cargo fmt 2022-06-01 15:23:09 +01:00
Oskar Thoren c4ec421e2c
docs(semaphore): Add README 2022-06-01 15:20:39 +01:00
Oskar Thoren e7fdcd1e8a
refactor(semaphore): Use crate::protocol for tests
Instead of semaphore-rs as black box.
2022-06-01 15:17:46 +01:00
Oskar Thoren 61b63cb90e
chore(semaphore): Cargo.toml tweaks
Name has to be different to avoid workspace rlib clash, it seems like.
2022-06-01 15:17:17 +01:00
Oskar Thoren d9b5c9a371
feat(semaphore): Import protocol, circuit, build
From semaphore-rs.
2022-06-01 14:53:50 +01:00
Oskar Thoren 04e3e3a7eb
chore(semaphore): Update dependencies 2022-06-01 14:53:12 +01:00
Oskar Thoren d9b3034804
chore(semaphore): Add semaphore submodule
Note previous commit to keep same script install flow for now.
2022-06-01 14:40:41 +01:00
Oskar Thoren 075a755af8
test(semaphore): Import basic end to end test 2022-06-01 13:13:00 +01:00
Oskar Thoren bcc38c41e2
chore(semaphore): Add Semaphore dependency 2022-06-01 13:12:41 +01:00
Oskar Thoren 1d858175fc
feat(semaphore): Init crate 2022-05-24 12:35:33 +01:00