58 Commits

Author SHA1 Message Date
Magamedrasul Ibragimov
17f0fed7d8 style(withdraw): rename signal variable v1.0.0 2023-07-06 22:23:29 +04:00
Magamedrasul Ibragimov
cee29410b7 chore: update README 2023-07-03 16:20:09 +04:00
Magamedrasul Ibragimov
55c7da2227 chore: change docs 2023-06-28 21:15:18 +04:00
Magamedrasul Ibragimov
18f6e0acd0 Merge pull request #12 from Rate-Limiting-Nullifier/auditFix
fix: add dummy constraint for unused input
2023-06-17 11:31:01 +04:00
Magamedrasul Ibragimov
c4e1352b52 fix: add dummy constraint for unused input 2023-06-17 11:21:17 +04:00
Magamedrasul Ibragimov
37073131b9 Merge pull request #10 from Rate-Limiting-Nullifier/build/upgrade-snarkjs
Upgrade snarkjs to ^0.7.0
2023-05-26 14:52:08 +04:00
mhchia
65ccfb1332 build: upgrade snarkjs to ^0.7.0
fixes #8
2023-05-26 15:07:14 +08:00
Magamedrasul Ibragimov
f88924fa5a Merge pull request #9 from Rate-Limiting-Nullifier/test/remove-rln-same
Remove rln-same from tests and build scripts
2023-05-25 19:52:31 +04:00
mhchia
ab5415996e build: remove rln-same and change rln-diff to rln
Also, refactor a little bit
2023-05-25 23:24:34 +08:00
mhchia
2d96a2e7c6 test: remove rln-same test and rename rln-diff to rln 2023-05-25 23:24:07 +08:00
Magamedrasul Ibragimov
b40dfa63b7 refactor: update rangecheck template 2023-05-25 18:46:36 +04:00
Magamedrasul Ibragimov
5262116990 Merge branch 'main' of github.com:Rate-Limiting-Nullifier/circom-rln into main 2023-05-25 18:34:52 +04:00
Magamedrasul Ibragimov
e33ec2271a feat: remove rln-same circuit 2023-05-25 18:34:35 +04:00
Magamedrasul Ibragimov
10437bc25e Merge pull request #7 from Rate-Limiting-Nullifier/test/fix-tests-due-to-circuit-changes
Fix tests due to circuit changes
2023-05-24 10:54:57 +04:00
mhchia
60bc49dc3e test: fix tests due to circuit changes
- rln-diff.test.ts: valid message id becomes [0, messageLimit-1]
- rln-same.test.ts: valid message id becomes [0, messageLimit-1]
- withdraw.test.ts: addressHash is renamed to address
2023-05-24 12:08:40 +08:00
Magamedrasul Ibragimov
dafb239b7c fix: add assertion in rangeCheck & refactor 2023-05-23 14:11:55 +04:00
Magamedrasul Ibragimov
530bb5a3fd docs: comments 2023-05-19 19:15:07 +04:00
Magamedrasul Ibragimov
f10520ffa9 refactor: remove IsInInterval gadget 2023-05-19 19:11:03 +04:00
Magamedrasul Ibragimov
184ee747d5 chore: change the range check 2023-05-19 19:10:09 +04:00
Magamedrasul Ibragimov
a7e33a36a4 Merge branch 'main' of github.com:Rate-Limiting-Nullifier/rln-circuits-v2 into main 2023-05-19 18:59:01 +04:00
Magamedrasul Ibragimov
3d48f07767 refactor: change signal's name 2023-05-19 18:58:49 +04:00
Magamedrasul Ibragimov
e935fcc18b Merge pull request #6 from Rate-Limiting-Nullifier/test/fix-test-name-typo
Fix test name typo in rln-same.test.ts
2023-05-08 08:38:50 +04:00
Kevin Mai-Husan Chia
82f2b2f579 test: fix wrong test name
rln-diff -> rln-same
2023-05-08 11:10:04 +08:00
Magamedrasul Ibragimov
022b690b56 docs: update title in README 2023-04-02 13:23:21 +04:00
Magamedrasul Ibragimov
453e00efb3 docs: update README 2023-04-02 13:21:26 +04:00
Magamedrasul Ibragimov
24a978aa79 chore: add MIT license 2023-04-02 13:12:13 +04:00
Magamedrasul Ibragimov
f9ea2244d8 chore: add APACHE license 2023-04-02 13:11:36 +04:00
Magamedrasul Ibragimov
ffd3aee378 Merge pull request #5 from Rate-Limiting-Nullifier/test/add-tests
Tests & CI
2023-04-02 13:07:15 +04:00
mhchia
5dc4ff5295 ci: build all circuits and run test 2023-04-01 21:46:01 -06:00
mhchia
d3a01079a4 add tests for circuits 2023-04-01 21:29:42 -06:00
Magamedrasul Ibragimov
be9d11b5cb feat: reimplement withdraw & add formal description for withdraw.circom 2023-03-31 16:44:58 +04:00
Magamedrasul Ibragimov
781301c3f6 feat: add withdraw circuit 2023-03-30 23:05:20 +04:00
Magamedrasul Ibragimov
e6d75895f3 docs: add formal description of the circuits 2023-03-24 15:49:15 +04:00
Magamedrasul Ibragimov
20d90b5b08 docs: add formal description of utils.circom 2023-03-24 14:51:21 +04:00
Magamedrasul Ibragimov
630119414a docs: update links in README 2023-03-23 13:41:33 +04:00
Magamedrasul Ibragimov
bdbdc1579e docs: update RLN-v1 section in README 2023-03-23 13:27:46 +04:00
Magamedrasul Ibragimov
b5abca6901 docs: update RLN-v1 section in README 2023-03-23 13:26:42 +04:00
Magamedrasul Ibragimov
cde2dd4c0f docs: update README 2023-03-23 13:24:07 +04:00
Magamedrasul Ibragimov
26ab16036c chore: update IsInInterval template and add frame for formal decsription 2023-03-23 13:16:32 +04:00
Magamedrasul Ibragimov
2ae840c16f refactor: move MerkleTree circuit to the utils 2023-03-20 15:31:16 +04:00
Magamedrasul Ibragimov
b81a623cff refactor: move IsInInterval template to separate file 2023-03-20 14:42:25 +04:00
AtHeartEngineer
8769220cd1 Merge pull request #1 from Rate-Limiting-Nullifier/Build-Script-Improvements
Build Script outputs config file,  output clearer
2023-03-14 03:41:17 -04:00
AtHeartEngineer
c04be1d1cc Update diagram.md
Correct RLNv2 circuit diagram, as a reference
2023-03-14 03:15:46 -04:00
AtHeartEngineer
2ed630cda8 bug: fixed sha256sum to shasum -a 256 2023-03-14 11:37:59 +07:00
AtHeartEngineer
d7dce2a03e Updated config for TOML format 2023-03-14 10:52:43 +07:00
AtHeartEngineer
8961ad6edc Build Script outputs config file, output clearer 2023-03-14 10:06:40 +07:00
AtHeartEngineer
5f9f4f6dd1 RLNv2 Diagram 2023-03-14 10:05:11 +07:00
Magamedrasul Ibragimov
5577cba5c8 style: minor updates 2023-02-28 13:12:04 +04:00
Magamedrasul Ibragimov
2f244916e5 Merge branch 'main' of github.com:Rate-Limiting-Nullifier/rln-circuits-v2 into main 2023-02-28 12:37:47 +04:00
Magamedrasul Ibragimov
3e36c82622 style: change to camelCase 2023-02-28 12:37:30 +04:00