1329 Commits

Author SHA1 Message Date
Vivian Plasencia
9b9ffe74bb docs: update team name and add paper authors (#407)
* docs: update team name and add paper authors

* docs: update code comment
2025-09-18 16:10:49 +02:00
Vivian Plasencia
649c21a0d2 chore(lean-imt): v2.2.4 lean-imt-v2.2.4 2025-07-21 20:41:53 +02:00
Vivian Plasencia
b10a5c7b5a fix(lean-imt): use 0 for proof index when generating the proof (#402)
re #400
2025-07-21 18:12:29 +02:00
Vivian Plasencia
9ec5a5d18d chore: stop type docs (#398) 2025-06-13 10:34:44 +02:00
Vivian Plasencia
025ea6b43f docs: update contributing (#397)
* docs: update contributing file and license year

re #396

* docs: update pull request template
2025-06-12 09:34:30 +01:00
Ocheretovich
e18590def1 chore: added new Gitpoap badge (#391)
* Update README.md

* Update README.md
2025-06-10 08:30:09 +02:00
Timothy Burk
577fa314c5 Add security warning about BigInt vulnerability (#390)
docs(poseidon-cipher): add security warning about BigInt vulnerability to README and source file
2025-04-14 08:32:52 +01:00
Vivian Plasencia
60b50a0fd8 chore(utils): v1.4.1 utils-v1.4.1 2025-03-30 22:46:45 +02:00
Vivian Plasencia
99a00fa484 refactor(utils): split the packed base type into two for better docs (#388) 2025-03-30 22:44:01 +02:00
Vivian Plasencia
8d0e2fbdec chore(utils): v1.4.0 utils-v1.4.0 2025-03-30 21:46:11 +02:00
Vivian Plasencia
9d2406724d Feat/proof packing plonk fflonk (#387)
* feat(utils): add pack and unpack plonk proof

* feat(utils): add pack and unpack fflonk proof

* refactor(utils): create a packed proof base since plonk and fflonk share the same packed proof type
2025-03-30 21:36:57 +02:00
Vivian Plasencia
c4b30542e2 Chore/update codeowners (#383)
* chore: update codeowners file

* chore: update position
2025-03-21 13:56:35 +01:00
Vivian Plasencia
f23a03c6e6 chore(lean-imt): v2.2.3 lean-imt-v2.2.3 2025-02-24 22:50:09 +01:00
Vivian Plasencia
32cf9a673d fix(lean-imt): replace the spread operator inside the push function with concat (#377)
fix(lean-imt): replace the spread operator with concat

Now the LeanIMT data structure won't return a stack error when using the inserMany function to add a
large number of members such as 110000.

re #376
2025-02-24 22:17:55 +01:00
indmind
bb5e5bb1e7 refactor: consolidated benchmark logic into benchmarkSuite function (#374) 2025-02-10 18:18:49 +00:00
Vivian Plasencia
282994a8e4 chore(imt): v2.0.0-beta.8 imt-v2.0.0-beta.8 2025-02-02 21:57:48 +01:00
Vivian Plasencia
50105004ed chore(utils): v1.3.0 utils-v1.3.0 2025-01-31 13:08:37 +01:00
Vivian Plasencia
cd0ed030b6 feat(utils): support boolean in types-checks and error-handlers (#373)
* feat(utils): support boolean in types-checks and error-handlers

re #372

* test(utils): add support for more types in the isSupportedType function
2025-01-31 13:02:35 +01:00
d0x471b
34c781ce3d refactor(imt): define export type IMTNode instead of any (#366)
refactor(imt): define export type IMTNode as number | string | bigint instead of any

re #339
2025-01-17 12:17:53 +00:00
cedoor
31c83b6448 style: format code 2025-01-13 15:34:43 +00:00
Cedoor
4425b09ab3 docs(imt): add docs to indexOf function (#359)
re #321
2025-01-13 15:33:34 +00:00
Cedoor
85b499b4f3 chore: remove unnecessary husky code (#360) 2025-01-13 15:33:10 +00:00
Cedoor
92e0635541 docs: update pull_request_template.md 2025-01-13 15:32:10 +00:00
Cedoor
8fff587908 docs: update CONTRIBUTING.md 2025-01-13 15:12:16 +00:00
Ursula
388f72b7a0 fix: Improved error handling and input validation for project name in… (#362)
fix: Improved error handling and input validation for project name in script
2025-01-07 10:04:50 +01:00
Dmytrol
54f175d06a Fix grammar in README.md (#357)
typos README.md
2024-12-06 10:04:33 +05:30
cedoor
3936a28d51 chore(lean-imt): v2.2.2 lean-imt-v2.2.2 2024-12-04 20:07:25 +05:30
Lautaro Di Sanza
659d728cc2 fix(lean-imt): After a sequence of updates a proof is invalid. (#355)
* fix/lean-imt-update-member

* fix/lean-imt-update-member

* fix/lean-imt-update-member

* fix: lean-imt-update-member
When a member is removed from the tree (update a leaf with 0n) and then another member is updated, the root that is saved is not correct, so the proof that is generated is not valid.This was caused by a type validation failure.
This fix the behavior described above.
I detected this when I was testing in Semphore groups.

* fix(lean-imt): After a sequence of updates a proof is invalid.
due to a bug in type checking, the root is not generated correctly.

* fix(lean-imt): After a sequence of updates a proof is invalid.
due to a bug in type checking, the root is not generated correctly.
2024-12-04 20:05:35 +05:30
cedoor
1b8623116e chore(smt): v1.0.2 smt-v1.0.2 2024-12-02 14:42:12 +07:00
José Pedro Sousa
aa76d5710c feat(smt): allow ChildNodes to use 0 as entry marker (#354) 2024-12-02 14:40:17 +07:00
Maks
c6f1efe79d Update README.md - Fix Spelling and Grammar (#352)
Update README.md
2024-11-27 12:37:24 +07:00
Cypher Pepe
b42fc56466 Fix broken and incorrect links README.md (#351) 2024-11-26 15:24:40 +07:00
cedoor
ded24080e6 chore(imt): v2.0.0-beta.7 imt-v2.0.0-beta.7 2024-11-25 10:18:10 +07:00
hannahredler
c25353ba6e perf(imt): when updating a node, skip calculation if value is the same (#350)
In order to improve performance, we can avoid recalculating the Incremental Merkel Tree in the event
that the update value is the same as the tree value.

re #340
2024-11-25 09:42:18 +07:00
wangjingcun
c126a7c5b1 chore(benchmarks): fix some typos in comment (#348)
Signed-off-by: wangjingcun <wangjingcun@aliyun.com>
2024-11-22 11:58:08 +07:00
Donny
2dc9a192b5 Typo fix Update README.md (#349)
Fix incorrect echo command in LaTeX setup instructions for Mac
2024-11-20 16:32:06 +07:00
cedoor
291501fcfb chore(eddsa-poseidon): v1.1.0 eddsa-poseidon-v1.1.0 2024-10-22 18:15:27 +01:00
hannahredler
25f30b18ba feat(eddsa-poseidon): adds Blake2s hashing for eddsa and conditional imports (#329)
* feat(eddsa-poseidon): adds Blake2s hashing for eddsa and conditional imports

Currently EdDSA Poseidon hashes using Blake 1, which is now outdated. This commit swaps the default
hashing algorithm for Blake2, whilst also introducing conditional imports so the user can specify
the underlying hashing algorithm if required.

BREAKING CHANGE: n

* feat(eddsa-poseidon): clean up code

re 152

* feat(eddsa-poseidon): fix exports

* feat(eddsa-poseidon): update comments

* refactor(eddsa-poseidon): makes the blake algorithms implement the hash function interface

* feat(eddsa-poseidon): removes implementation of blake2b in favour of the blakejs library

BREAKING CHANGE: n

* refactor(eddsa-poseidon): simplifies the input types for the hash functions

re #152

* refactor(eddsa-poseidon): removes to hex function in favour of zk-kit bufferToHexadecimal

re #152

* fix(eddsa-poseidon): change the default import back to blake1 and fix the export files

re 152

* docs(eddsa-poseidon): update comments

re 152

* refactor(eddsa-poseidon): unifies both algorithms to use default exports

re 152

* refactor(eddsa-poseidon): use imported buffer type instead of the default

re #152

* fix(eddsa-poseidon): throw an error if unsupported algorithm is chosen"

BREAKING CHANGE: n

re #51

* refactor(eddsa-poseidon): rename test file

re #152

---------

Co-authored-by: Cedoor <me@cedoor.dev>
2024-10-22 17:56:03 +01:00
Vivian Plasencia
91789964d4 docs: add paper download link to readme files (#346)
* docs: add paper download link to readme files

Now it is easier to download the paper pdf.

* chore: remove yarn from the command
2024-10-17 12:16:40 +01:00
cedoor
c0b99e5fca chore(eddsa-poseidon): v1.0.4 eddsa-poseidon-v1.0.4 2024-10-15 10:43:57 +01:00
Cedoor
f9d07cea4a build(eddsa-poseidon): move poseidon-lite package to dependencies (#345) 2024-10-15 10:40:04 +01:00
sripwoud
c912111c13 ci: update triggers for docs workflow 2024-09-25 18:09:59 +02:00
sripwoud
8c25e3ed60 ci: include README.md files in path triggers of deploy workflow (#333) 2024-09-25 16:53:44 +01:00
sripwoud
8384b307bb docs: add zk-kit.rust to list of repos (#334)
* docs: add `zk-kit.rust` to list of repos

* fix: github.com instead of .io

* docs: add space
2024-09-25 11:27:44 +02:00
Paul Rodas Lema
9adf8bf54b test(benchmarks): improve bechmarks to have complete performance data (#326)
* test(benchmarks): improve bechmarks to have complete performance data

- Added Sparse Merkle Tree to the benchmark suites to complete the available merkle tree
implementations in zk-kit.

- Added operation to the benchmark suites (proof generation, proof verification, update, delete

- Changed the "imt.ts" name to "benchmark-merkle-trees.ts"

- Added README.md documentation about the benchmark suite

- Added log managment with winston library to handle any error produced during the benchmark
withtout break the benchmark execution

re #311

* fix(benchmarks): remove package winston and to-hex libraries to fix validation issues in GH

remove package winston and to-hex libraries to fix validation issues in GH

re #311

* docs(benchmarks): added benchmarks summary

Added benchmarks summary tables for different sizes of samples

and conclusion ideas

re # 311

* Update benchmarks/README.md

Co-authored-by: sripwoud <dev+github@sripwoud.xyz>

* Update benchmarks/benchmark-merkle-trees.ts

Co-authored-by: sripwoud <dev+github@sripwoud.xyz>

* Update benchmarks/README.md

Co-authored-by: sripwoud <dev+github@sripwoud.xyz>

* Update benchmarks/benchmark-merkle-trees.ts

Co-authored-by: sripwoud <dev+github@sripwoud.xyz>

* Update benchmarks/README.md

Co-authored-by: sripwoud <dev+github@sripwoud.xyz>

* refactor(benchmarks): added winston to package.json and refactored index.ts

Added winston to package.json and refactored index.ts to

run the samples with a loop managed by an array

re #311

* Update benchmarks/benchmark-merkle-trees.ts

Co-authored-by: sripwoud <dev+github@sripwoud.xyz>

* fix(benchmarks): added counter initialization mistake

Changed to initialize from -1 instead of 0 to fix the logic to start from the first

samples element

re #311

* docs(benchmarks): changed the usage instructions to point the exisitin script

Change the usage instructions of benchmarks from the npx command to use the

exisiting script in the package.json

re #311

* style(benchmarks): benchmark-merkle-trees.ts changes from prettier validation

Minimal change in the code to add an space to a instruction from prettier lib suggestion

* fix(benchmarks): added the new version of yarn.lock

after the run the yarn command in my local environment plus

add the new dev dependency winston the yarn.lock

have changed some lib versions and added winston

re #311

---------

Co-authored-by: sripwoud <dev+github@sripwoud.xyz>
Co-authored-by: Cedoor <me@cedoor.dev>
2024-09-25 10:00:50 +02:00
Vivian Plasencia
71db371e93 chore: add leanimt paper (#332)
* chore: add the leanimt paper

re #331

* docs: update leanimt paper readme file

re #331

* chore: update folder name

* refactor: update the created date
2024-09-23 16:56:53 +02:00
cedoor
2173bc800d chore(logical-expressions): v1.0.1 logical-expressions-v1.0.1 2024-09-13 16:59:11 +01:00
cedoor
d5bb8e7d7c chore(poseidon-proof): v1.0.0-beta.6 poseidon-proof-v1.0.0-beta.6 2024-09-13 16:30:04 +01:00
cedoor
c858bdd2ab chore(smt): v1.0.1 smt-v1.0.1 2024-09-13 16:26:01 +01:00
cedoor
d5463708d8 chore(lean-imt): v2.2.1 lean-imt-v2.2.1 2024-09-13 16:22:02 +01:00