Commit Graph

338 Commits

Author SHA1 Message Date
cedoor
dfa386ad65 fix: remove public signal checks
Also, the old zk-protocols common class has been removed and the proof methods are now specific for
each protocol.
2022-02-21 18:26:10 +01:00
Nasi Jofce
dff118f925 chore: v1.8.1 2022-02-21 13:55:19 +01:00
Nasi
82ee0269a8 Merge pull request #17 from appliedzkp/fix/update-zero-handling
fix(incremental-merkle-tree): merkle tree supports zero leaves. Merkle proof fails for zero value
2022-02-21 12:59:02 +01:00
Nasi Jofce
d001f11730 fix(incremental-merkle-tree): merkle tree supports zero leaves. Merkle proof fails for zero value
The incremental-merkle-tree can be constructed with any value, including zeros. The generation of
merkle proof will fail for zero value.
2022-02-21 12:53:03 +01:00
Omar Desogus
89d6d730e3 Merge pull request #16 from appliedzkp/feat/structured_public_signals
feat(zk-protocol): structure the public signals array obtained while generating a proof from snarkjs
2022-02-18 22:38:49 +01:00
Nasi Jofce
462a4bb745 feat(zk-protocol): structure the public signals array obtained while generating a proof from snarkjs
The generated proof using snarkjs will return an object of type PublicSignals for the public signals
2022-02-18 20:29:26 +01:00
Nasi Jofce
05130661fb feat(zk-protocol): structure the public signals array obtained while generating a proof from snarkjs
The generated proof using snarkjs will return an object of type PublicSignals for the public signals
instead of the array

BREAKING CHANGE: The generated proof using snarkjs will return an object of type PublicSignals for
the public signals instead of the array
2022-02-18 11:31:27 +01:00
cedoor
26883cb3f2 chore: v1.8.0 2022-02-14 18:17:38 +01:00
cedoor
f5411edad3 feat: set binary tree for semaphore protocol 2022-02-14 18:17:14 +01:00
cedoor
b4247b5fdf chore(protocols): v1.7.1 2022-02-14 13:52:03 +01:00
cedoor
6acdd40533 fix: set correct bigint tree leaves 2022-02-14 13:51:40 +01:00
cedoor
515591a7f2 docs: remove npm bundle size badge 2022-02-14 13:08:07 +01:00
cedoor
65138edc66 chore(protocols): v1.7.0 2022-02-14 13:07:04 +01:00
cedoor
26dd0f9da9 revert: set leaf parameter 2022-02-14 13:06:36 +01:00
cedoor
9e9a50cd8d chore(protocols): v1.6.0 2022-02-14 12:07:24 +01:00
cedoor
f0692ad28b docs: update protocols readme file 2022-02-14 12:06:59 +01:00
cedoor
4d04aca097 feat: add function to generate merkle tree 2022-02-14 12:00:34 +01:00
cedoor
8d9b7d40aa chore(identity): v1.4.1 2022-02-10 19:46:53 +01:00
cedoor
1e80cce7b6 refactor: remove unused ffjavascript dep 2022-02-10 19:46:24 +01:00
cedoor
abff753f60 chore(identity): v1.4.0 2022-02-10 18:27:47 +01:00
cedoor
76e80eda9e chore: replace bigint lib 2022-02-10 18:27:26 +01:00
cedoor
773c106e66 chore(protocols): v1.5.0 2022-02-10 11:11:06 +01:00
cedoor
dd3a071817 chore: move zkey files on protocols package 2022-02-09 19:59:05 +01:00
cedoor
40539f0168 chore: add jest ignore comment for zk-protocol file 2022-02-09 19:58:22 +01:00
Omar Desogus
01348d3483 Merge pull request #15 from appliedzkp/feat/witness_calculation_removed
Feat/witness calculation removed
2022-02-09 19:30:22 +01:00
bdim1
7e19716e13 fix: merge updates 2022-02-09 19:01:38 +01:00
bdim1
9fadb1b82b Merge branch 'main' of https://github.com/appliedzkp/zk-kit into main
 Conflicts:
	packages/protocols/src/utils.ts
	packages/protocols/src/zk-protocol.ts
	packages/protocols/yarn.lock
2022-02-09 18:53:46 +01:00
bdim1
1794099664 feat: witness calculation from file removed 2022-02-09 18:50:33 +01:00
cedoor
c865306afc chore(protocols): v1.4.2 2022-02-09 15:19:21 +01:00
cedoor
566cc0f2fd chore: update yarn.lock deps 2022-02-09 15:17:35 +01:00
cedoor
87fcdf2810 build(rollup): replace typescript plugin 2022-02-09 15:17:20 +01:00
cedoor
4f21a0955e chore: add cname record for custom subdomain 2022-02-09 12:21:25 +01:00
cedoor
f781c7c585 chore(protocols): v1.4.1 2022-02-09 10:48:39 +01:00
cedoor
6fd9a2d999 chore(identity): v1.3.1 2022-02-09 10:48:12 +01:00
cedoor
5ff7fcb42c chore: update incremental-merkle-tree dependency 2022-02-09 10:47:21 +01:00
cedoor
0fa944e3f9 chore(incremental-merkle-tree): v0.4.2 2022-02-09 10:31:22 +01:00
cedoor
730ae24937 refactor: move shared types to specific packages 2022-02-09 10:30:41 +01:00
cedoor
af95ad731c chore(protocols): v1.4.0 2022-02-07 12:03:34 +01:00
cedoor
b0f405df78 refactor: update function to pack solidity proofs 2022-02-07 11:58:44 +01:00
cedoor
868c003b27 chore: add solidity tests to test:prod script 2022-02-03 10:22:56 +01:00
cedoor
907e10ea93 docs: update coverage badge label 2022-02-03 10:22:14 +01:00
cedoor
bc3579e504 chore(incremental-merkle-tree.sol): v0.3.0 2022-02-03 10:14:17 +01:00
cedoor
efecda4f30 perf: replace memory with calldata 2022-02-03 10:13:41 +01:00
cedoor
45acf0d0f9 chore(identity): v1.3.0 2022-02-02 22:53:44 +01:00
cedoor
e6e49453e0 chore(protocols): v1.3.0 2022-02-02 22:53:20 +01:00
cedoor
ed6f53efa9 style: format code with prettier 2022-02-02 22:51:56 +01:00
cedoor
0d56298e43 chore: update package description 2022-02-02 22:48:44 +01:00
Omar Desogus
fc465f5e13 docs: add hash function info 2022-02-02 22:48:44 +01:00
Omar Desogus
df4f263f91 Merge pull request #14 from appliedzkp/fix/nrln_removal
Fix/nrln removal
2022-02-02 22:48:15 +01:00
bdim1
8b4a347233 fix: lint fix 2022-02-02 22:31:24 +01:00