Commit Graph

39 Commits

Author SHA1 Message Date
cedoor
3a312eed5c chore: remove all fullProof occurrences
Former-commit-id: 6d4b7bbfb4
2024-02-10 15:26:07 +00:00
cedoor
fd5f7bf8c6 feat(core): create core package
Former-commit-id: c244402e37
2024-02-10 15:26:07 +00:00
cedoor
4c9f03f2ea feat(contracts): add function to get group admin
re #574


Former-commit-id: 2cc9b868ee
2024-02-10 15:26:07 +00:00
cedoor
c6bfadbfa2 refactor: rename proof with points
Former-commit-id: 4fcfe5cac1
2024-02-10 15:26:07 +00:00
cedoor
a623a5a7b0 refactor(contracts): create SemaphoreProof struct
Former-commit-id: 111bf43066
2024-02-10 15:26:07 +00:00
cedoor
f3789cbccc chore(contracts): update proof pkg var names
Former-commit-id: f6d7aef5a7
2024-02-10 15:26:07 +00:00
cedoor
185e9a27a9 refactor(contracts): improve task to deploy
Former-commit-id: 3a5dc842f6
2024-02-10 15:26:06 +00:00
cedoor
d04b5e8b25 refactor(contracts): update tests, tasks and scripts
Former-commit-id: 540006b660
2024-02-10 15:26:06 +00:00
vplasencia
c653e5e0be test(contracts): remove skip tests
Former-commit-id: a8fc33712a
2024-02-10 15:26:06 +00:00
vplasencia
0e4a60c8d2 test(contracts): update add members test
Former-commit-id: eff91efbc6
2024-02-10 15:26:06 +00:00
vplasencia
d0fcdac77d feat(contracts): add many members using new event
Former-commit-id: f80b84981e
2024-02-10 15:26:06 +00:00
cedoor
2423bb966a feat(contracts): add new function to verify proofs without nullifiers
Former-commit-id: bc86539c1c
2024-02-10 15:26:06 +00:00
cedoor
5a44daf58d chore(contracts): update solidity and hardhat versions
Former-commit-id: ebd33484ed
2024-02-10 15:26:06 +00:00
Jeeiii
7a4c4bfcae fix: typo for ISemaphore contract interface custom error
Former-commit-id: 54c2fa4b15
2024-02-10 15:26:06 +00:00
Jeeiii
7023db71b4 fix: use merkleTreeSize instead of merkleTreeDepth to support groups with one member
Former-commit-id: ede1d17c2e
2024-02-10 15:26:06 +00:00
cedoor
2a7dea10d2 refactor(circuits): update merkle proof variable names
Former-commit-id: 7c33fc72ce
2024-02-10 15:26:06 +00:00
cedoor
6e9ebe1fcb fix(contracts): reverse proof b points
Former-commit-id: 032e0ee0d8
2024-02-10 15:26:06 +00:00
cedoor
45e4c59001 refactor: update verifiers
Former-commit-id: 8874b22a35
2024-02-10 15:26:06 +00:00
cedoor
143678f40a feat(contracts): update contracts with new imt
Former-commit-id: eb00f164c8
2024-02-10 15:26:06 +00:00
cedoor
d64a44f835 refactor(contracts): remove extension contracts
Former-commit-id: 714cfd2fd4
2024-02-10 15:26:06 +00:00
vplasencia
37ad6e4aa7 fix(contracts): update variable types
Former-commit-id: aed7ab10ff
2023-10-18 13:58:43 +02:00
0xdeenz
90bb4ccfa0 refactor(contracts): change Semaphore__InvalidProof to InvalidProof
Makes Pairing.sol errors more generic for greater reusability

fix #266


Former-commit-id: dc39c4ca44
2023-03-08 23:27:08 +01:00
cedoor
343cdabe9c refactor(contracts): update contract tests
re #230


Former-commit-id: 1b654977b0
2023-01-23 20:29:08 +01:00
cedoor
88781ea466 style(contracts): format code with prettier
Former-commit-id: 218867747b
2022-12-20 11:51:26 +01:00
cedoor
2c47ad9f28 Merge branch 'dev' into fix/zero-values
Former-commit-id: a2e31b78d3
2022-12-20 11:44:26 +01:00
cedoor
8e0dd30ccc fix(contracts): add function to update merkle tree duration
This bug was found by Veridise during their audit of Semaphore.

fix #200


Former-commit-id: 70d7276928
2022-12-19 13:35:01 +01:00
cedoor
f3ca0ce3d8 fix(contracts): generate zeroValue based on groupId
This bug was found by Veridise during their audit of Semaphore.


Former-commit-id: a6d3e0719f
2022-12-16 16:23:13 +01:00
cedoor
310b1a8dcd chore(contracts): migrate to hardhat-chai-matchers
Former-commit-id: 0d3e3c8459
2022-12-16 14:46:24 +01:00
cedoor
04f57db7f0 refactor(contracts): remove snark field check for group id values
Former-commit-id: c15145da2c
2022-11-28 15:31:04 +01:00
cedoor
781922436e refactor: create hash function to normalize snark signals
Former-commit-id: 7f872bcd92
2022-11-22 15:12:29 +01:00
cedoor
499ec1cbeb refactor(contracts): replace old verifiers with a single semaphore verifier
Former-commit-id: 56ecb4a2a7
2022-11-18 16:33:58 +01:00
cedoor
eeac211c01 refactor(contracts): remove modifier from proof verification functions
Former-commit-id: 99a358ca12
2022-11-09 15:13:12 +01:00
cedoor
a9f8379545 refactor(groups): make attribute public and update method name
Former-commit-id: 822561a015
2022-11-09 12:29:58 +01:00
cedoor
e6a3699a56 feat: add identity class getters
Former-commit-id: 401d303b39
2022-09-30 11:46:21 +02:00
cedoor
7329ca6a48 feat: move nullifier hashes out of SemaphoreCore
Former-commit-id: f57e21c77d
2022-09-19 16:36:30 +02:00
cedoor
c984adef0e feat: add proof parameters to ProofVerified event
Former-commit-id: 85d9de669b
2022-09-18 18:16:10 +02:00
cedoor
0daf5b7dae chore: move env variables to the root folder
Former-commit-id: 9d3fc642d2
2022-09-18 15:50:16 +02:00
cedoor
e909e1db99 test: set default tree depth
Former-commit-id: 024c16bcd2
2022-09-17 12:40:14 +02:00
cedoor
8cf04ddb98 chore: create semaphore monorepo
Former-commit-id: a38dd20276
2022-09-16 16:50:30 +02:00