48 Commits

Author SHA1 Message Date
rymnc
430b040043
feat: withdrawals/slashing implemented on interep 2022-12-02 12:49:11 +05:30
rymnc
ac21cfd698
feat: test for verifying semaphore proof 2022-11-28 18:49:15 +05:30
rymnc
1224edffb9
feat: create semaphore proofs, test 2022-11-28 18:23:59 +05:30
rymnc
9ec26069f0
chore: add actual verifier20 2022-11-28 17:36:23 +05:30
rymnc
c32e4e16fc
chore: correct depth 2022-11-28 15:01:35 +05:30
rymnc
a1d0d17c9e
chore: saveNullifierHash, add upgrade todo 2022-11-28 10:56:43 +05:30
rymnc
4ba9a1db92
style: fmt PoseidonHasher 2022-11-28 10:33:30 +05:30
rymnc
810b29fb7b
chore: add tests with interep membership insertion 2022-11-28 10:33:16 +05:30
rymnc
e53e225493
feat: verify proof using test verifier 2022-11-28 10:32:53 +05:30
rymnc
4ab3a6f2fb
chore: add constant depth 2022-11-28 10:32:09 +05:30
rymnc
1c7779acd3
style: fmt 2022-11-25 12:10:37 +05:30
rymnc
ae8648fdac
fix: precommit fmt 2022-11-25 12:09:12 +05:30
rymnc
4a28773e91
test: offending pk 2022-11-25 12:07:06 +05:30
rymnc
6b56cc5bcf
fix(ci): add lint check 2022-11-25 11:39:40 +05:30
rymnc
67ed8ee703
style: fmt 2022-11-25 11:38:38 +05:30
rymnc
712b373c92
feat: add deps to deployments, improve rln tests 2022-11-25 11:31:06 +05:30
rymnc
4cbfc0feb0
feat: use hardhat-deploy, clean up poseidon hasher tests 2022-11-25 11:13:49 +05:30
rymnc
a95e388991
fix: add lockfile 2022-11-25 10:22:38 +05:30
rymnc
35c4b03ba1
fix(ci): id of coverage step 2022-11-25 10:20:05 +05:30
rymnc
d94a14ffb3
fix(ci): base branch 2022-11-25 10:19:09 +05:30
Aaryamann Challani
dcf60967fc
Merge pull request #2 from vacp2p/ci-contracts
feat(ci): tests + coverage
2022-11-25 10:17:17 +05:30
rymnc
3a30a3cd26
chore: tighten ci runs 2022-11-25 10:15:21 +05:30
Aaryamann Challani
3fc2a063a9
Merge pull request #1 from vacp2p/interep-group-storage
feat(rln): store valid group ids from interep
2022-11-25 10:13:37 +05:30
rymnc
5cc64fa1ad
chore: replace npm with yarn, ci 2022-11-25 10:12:55 +05:30
rymnc
538783027d
fix: should be able to run tests without .env 2022-11-25 09:41:12 +05:30
rymnc
299f2b0f1b
chore: update package.json with scripts 2022-11-25 09:34:58 +05:30
rymnc
c0d5247aa4
chore: cleanup group generation 2022-11-24 14:48:00 +05:30
rymnc
4b37f3734e
chore(test): fmt 2022-11-24 12:11:09 +05:30
rymnc
0b287c40c2
feat(rln): store valid group ids from interep 2022-11-24 12:09:44 +05:30
Richard Ramos
db3beff91a fix: solidity version 2022-10-26 08:32:48 -04:00
G
b8d0a298c7
Merge pull request #9 from vacp2p/update-poseidon
refactor(poseidon): use correct constants in Poseidon
2022-10-04 23:02:30 +02:00
s1fr0
72fb565465
fix(rln): typo 2022-10-04 15:15:00 +02:00
s1fr0
77467a06ac
refactor(test): improve poseidon/rln register/withdraw test 2022-10-04 14:56:09 +02:00
s1fr0
5a49736ee4
feat(rln): add test for registration/withdraw 2022-10-04 02:35:29 +02:00
s1fr0
8a70eb7c28
feat(poseidon): add hash test for random value 2022-10-04 01:23:40 +02:00
s1fr0
20d98afcda
fix(rln): no need to expose hash in Rln.sol 2022-10-04 01:16:33 +02:00
s1fr0
c30913520f
refactor(poseidon): use correct constants in poseidon, i.e. hardcode Bn254(2,8,56) 2022-10-04 01:09:33 +02:00
Keshav Gupta
40304d3567
Readme file for testing and deployment 2022-09-25 23:49:21 +02:00
Richard Ramos
dc2a1393ef Fix: access the pubkey array length once 2022-08-18 14:41:26 -04:00
Richard Ramos
2abc054713 Fix: constructor does not require public visibility 2022-08-18 14:41:26 -04:00
Richard Ramos
71d1558ddf Update solidity version 2022-08-18 14:41:26 -04:00
Richard Ramos
dc7778a24f Use call instead of transfer in case receiver fallback exceeds 2300 gas 2022-08-18 14:41:26 -04:00
Keshav Gupta
d8c3d4e62f Using unindexed events. Setting depth to 20 2022-06-23 18:21:08 +02:00
Keshav Gupta
f2fa9a5015 Config using .env for private key and alchemy api 2022-06-23 17:25:07 +02:00
Keshav Gupta
5544cd7ce2 Case sensitive naming 2022-06-23 16:42:29 +02:00
Keshav Gupta
94cd4715b6 Packages import, RLN name case sensitivity 2022-06-23 15:57:09 +02:00
Keshav Gupta
55587b0c3a Greeting removal 2022-06-23 15:52:00 +02:00
Keshav Gupta
ffc962b472 Initializing Repository 2022-06-23 15:36:10 +02:00