202 Commits

Author SHA1 Message Date
skaunov
8ea2764b46 I started with #60 but it yeilded draft for #88 (and the issue itself) 2024-02-02 13:30:35 +03:00
Yush G
42789dc945 Merge pull request #78 from plume-sig/13
Solve #13
2023-12-09 13:01:25 -05:00
Sergey Kaunov
3d9180983c Fix issue with crate crate and mistakes of merge (#81) 2023-12-09 19:24:39 +03:00
Rajesh
b018d850bd build: bump k256 to 0.13.2 (#76)
* Fix: array signals

* Revert "Fix: array signals"

This reverts commit 253cc8c238.

* bump k256 to 0.13.2

* bump k256

* ran cargo fmt and clippy

---------

Co-authored-by: Sergey Kaunov <skaunov@disroot.org>
2023-12-09 19:13:17 +03:00
Yush G
db9b8354e4 Merge pull request #79 from plume-sig/63
Solve #63
2023-12-09 03:18:16 -05:00
skaunov
44e48202a3 fmt 2023-12-02 17:48:21 +03:00
skaunov
9167fabbe4 Some chore 2023-12-02 17:46:41 +03:00
skaunov
4396fb4b44 fmt and lint 2023-12-02 17:32:17 +03:00
skaunov
50516445e0 Solve #63, reduce unwrap,
streamline error handling, and ditch panicing.
2023-12-02 17:29:22 +03:00
skaunov
93e8844881 prettier lint 2023-12-02 02:38:22 +03:00
skaunov
94fd5b5e97 Solve #13
I had an idea to just hardcode the binary array, but it seems that
to actually constrait the circuit to it it's beneficial to use the
`component`.
```
bit_length_binary <== [0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ];
```
2023-12-02 02:25:40 +03:00
Anton
79c602670b chore: clean up (#74)
* chore: clean up

- [x] Add checks for ci actions
- [x] Run prettier, clippy, fmt commands for all the files
- [x] Move circom circuits to a circom folder
- [x] Get rid of js var statements

* chore: add resolver version for cargo.toml

* chore: add circom tests

* chore: optimize check triggers

* chore: remove `check` command

* chore: use only `pnpm`

* chore: update readme

---------

Co-authored-by: 0xmad <0xmad@users.noreply.github.com>
2023-11-18 20:48:24 +03:00
Yush G
51b030d171 Merge pull request #73 from plume-sig/Divide-By-0-patch-6
Add link to timofey's hash2curve halo2 chip
2023-11-08 11:14:48 +03:00
Yush G
e0a8989d02 Add link to timofey's hash2curve halo2 chip 2023-11-08 11:14:36 +03:00
Yush G
cac9b4cea7 Merge pull request #68 from plume-sig/61
61
2023-11-03 05:17:48 +03:00
skaunov
1cfa817c58 Style 2023-10-27 12:32:40 +03:00
skaunov
daa7c04b47 Style 2023-10-27 12:31:42 +03:00
Sergey Kaunov
f5dbd6a9c1 Merge pull request #66 from plume-sig/22_resolveConflict_
Naming and its align

PS Sad enough I only had most brutal of outlined ways for conflict resolutions on hand.
2023-10-26 18:41:51 +03:00
Sergey Kaunov
1b11bdd4a9 Update .gitignore
https://github.com/plume-sig/zk-nullifier-sig/pull/66/#issuecomment-1780924701
2023-10-26 18:40:05 +03:00
Sergey Kaunov
d4cda5b503 Merge branch 'main' into 22_resolveConflict_ 2023-10-26 18:38:20 +03:00
Sergey Kaunov
e1ca66e26f Delete javascript/yarn.lock
Sad way to merge #66
2023-10-26 18:35:49 +03:00
Sergey Kaunov
d73ddde2a3 Sad way to merge #66
* Delete javascript/yarn.lock
* Delete javascript/package-lock.json
2023-10-26 18:34:57 +03:00
Sergey Kaunov
ef93f16f9d Improve dependencies
`Digest` had been switched to more robust re-exported version.
`ring` seems to be excessive, commented out for now
2023-10-23 21:07:24 +03:00
skaunov
c32efefaf4 Add warning about c check 2023-10-23 14:33:22 +03:00
skaunov
15f5de2cc3 Linting 2023-10-23 00:12:11 +03:00
skaunov
e3c849ae0a Manually cleaned 2023-10-23 00:10:49 +03:00
skaunov
f35494f06c Correct additional fields scheme naming 2023-10-22 13:15:26 +03:00
skaunov
0c2f7512c4 fmt 2023-10-22 03:18:53 +03:00
skaunov
f11928cc0d Basic solution; unpolished 2023-10-22 03:13:38 +03:00
Yush G
eee98c3941 Merge pull request #62 from plume-sig/dependabot/npm_and_yarn/javascript/babel/traverse-7.23.2
Bump @babel/traverse from 7.23.0 to 7.23.2 in /javascript
2023-10-20 15:30:12 -04:00
Yush G
ac4d9c378b Merge pull request #59 from plume-sig/dependabot/npm_and_yarn/circuits/babel/traverse-7.23.2
Bump @babel/traverse from 7.21.2 to 7.23.2 in /circuits
2023-10-20 15:29:57 -04:00
Yush G
53a531e906 Removed finished 19 and comment for 15 2023-10-20 14:26:15 -04:00
skaunov
6c487c0fb9 "README" files update 2023-10-20 20:31:21 +03:00
skaunov
d8fb1b8b08 Fix merging, JS lock files update 2023-10-20 20:26:26 +03:00
skaunov
da9f5fb288 All modules naming is aligned. + refactoring&tests
[Discussion] results are incorporated. Naming groomed repository wide. \
Fun fact: I already was confused by that "hash2" naming, lol.

Note that `fn verify_signals` barely [benefit]
from renaming at all currently.

[Discussion]: 251fba6902 (commitcomment-130400727)
[benefit]: https://github.com/plume-sig/zk-nullifier-sig/issues/61
2023-10-20 17:59:39 +03:00
dependabot[bot]
c5f53c1b4f Bump @babel/traverse from 7.23.0 to 7.23.2 in /javascript
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.23.0 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-20 11:56:01 +00:00
dependabot[bot]
3e0d219ea3 Bump @babel/traverse from 7.21.2 to 7.23.2 in /circuits
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.2 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-20 11:55:50 +00:00
Sergey Kaunov
f4b53bc183 Fix: array signals (#65)
Co-authored-by: RajeshRk18 <kannar432@gmail.com>
2023-10-20 14:55:14 +03:00
Yush G
80602e3de4 Add link to poseidon v2 more prominently 2023-10-19 22:42:59 -04:00
Yush G
7485a2455a Add links to halo2 version 2023-10-12 01:41:02 +02:00
Yush G
e58ceec491 Added list of wallets that implement PLUMEs 2023-10-10 16:55:18 +02:00
Yush G
a19ed366cc Added details about usecases and cleaned open work in readme 2023-10-09 16:11:24 +02:00
Yush G
a912d132bb Updated comments saying deterministic sk, r is used for testing 2023-10-09 16:04:08 +02:00
Yush G
b989c4060d Merge pull request #58 from plume-sig/Divide-By-0-patch-5
Update README.md to add audit details
2023-10-09 16:00:00 +02:00
Yush G
caa76548b6 Update README.md to add audit details 2023-10-09 15:59:49 +02:00
Yush G
23bdefbe6f Add PSE discord link 2023-10-08 19:03:51 +02:00
Oren
2369113a26 Set the default version of calculating c to V2 (in JS)
Set the default version of calculating c to V2 (in JS)
2023-10-08 15:08:30 +03:00
Yush G
7627a36456 Merge pull request #57 from plume-sig/Divide-By-0-patch-4
Add link to taho integration
2023-10-07 03:10:14 +02:00
Yush G
499cb3405d Add link to taho integration 2023-10-07 03:10:02 +02:00
Oren
acf76e1fd5 v2.0.3 2023-10-06 23:38:36 +03:00