133 Commits

Author SHA1 Message Date
Rej Ect
6ab43a8deb docs: update copyright year in LICENSE (#98) 2026-01-03 16:04:22 +02:00
Rej Ect
f3b43696bc ci: bump actions/checkout to v6 (#97) 2025-11-30 01:27:47 +02:00
zkpepe
cd937f0287 chore(ci): upgrade checkout to v5 (#93)
* Update release.yml

* Update tests.yml
2025-08-29 13:54:55 +03:00
Artem Chystiakov
67bb25cea8 fix node22 tests 2025-08-29 13:53:49 +03:00
Radovenchyk
16918a076d Update LICENSE (#92) 2025-06-04 22:40:39 +03:00
NikolaiKryshnev
e8c2831413 refactor: replace manual directory and file checks with fs-extra methods (#75) 2025-06-03 15:38:27 +03:00
Yuliia Aritkulova
fce550b4f2 Added circom versions 2.2.1 and 2.2.2 (#87)
* added support for circom versions 2.2.1 and 2.2.2

* added known limitation to readme

* added fixed circom 2.2.2 version
0.5.17
2025-06-03 15:33:15 +03:00
Oleg Komendant
2d3db32761 Merge pull request #88 from operagxsasha/patch-1
docs: edited the link to the badge tests
2025-06-03 14:01:04 +03:00
Yuliia Aritkulova
fb8af61dc1 Added codeowners (#89) 2025-05-25 01:00:32 +03:00
operagxsasha
187eed22f8 Update README.md 2025-05-19 15:16:43 +03:00
Artem Chystiakov
2ed22e658c update readme 2025-05-13 13:49:17 +03:00
eveneast
146392786c chore: fix some typos in comment (#86)
Signed-off-by: eveneast <qcqs@foxmail.com>
2025-05-13 13:33:46 +03:00
PixelPilot
5374990f60 Update action.yml (#85) 2025-05-02 17:03:24 +03:00
Oleg Komendant
d64a995b35 Dev (#84)
* update zkit and ztype versions (#83)

* Update packages versions

* Update checkout action to v4  (#82)

* Update release.yml

* Update tests.yml

* Fix README

---------

Co-authored-by: Mllw Chrry <mariia.zhvanko@gmail.com>
Co-authored-by: Hopium <135053852+Hopium21@users.noreply.github.com>
0.5.16
2025-04-18 15:00:27 +03:00
Artem Chystiakov
2b029bd006 add op retrodrop 2025-04-04 23:27:38 +03:00
Oleg Komendant
2fc10e2c09 Update zkit & zktype versions; change ptau files url prefix (#81) 0.5.15 2025-03-25 17:27:54 +02:00
Artem Chystiakov
c50d2a4070 update readme 2025-03-20 15:49:01 +02:00
Artem Chystiakov
3d3bb8f8c6 update readme 2025-03-10 21:28:50 +02:00
Oleg Komendant
08f1eb2097 Fix verifiers generation bug on JS projects (#79)
* Fix verifiers generation bug on JS projects

* Add EnvironmentSettings type
0.5.14
2025-03-10 13:59:29 +02:00
Oleg Komendant
f2fbba11fc Bump zkit and zktype versions to add support for calldata structs (#77) 0.5.13 2025-03-04 17:14:28 +02:00
Oleg Komendant
9bd33759b8 Fix JSON.stringfy for the bitInt type (#76) 0.5.12 2025-02-25 15:27:21 +02:00
Oleg Komendant
bbf82ceafc Fix filtering on Windows OS (#74) 0.5.11 2025-01-29 16:12:26 +02:00
Dmytrol
d221af46cf Fix Typos in CompilationProcessor.ts, compilation-processor.ts, and file-parser.test.ts (#73)
* fix spelling error CompilationProcessor.ts

* fix typo file-parser.test.ts

* fix spelling error compilation-processor.ts
2025-01-29 15:54:23 +02:00
Artem Chystiakov
f1b5e7f287 Fix/refactor (#72)
* petit refactoring

* version

* fix

* fix and update parser

* fix
0.5.10
2024-12-31 14:12:16 +02:00
Artem Chystiakov
262a7d3fec the cook was high (#71) 0.5.9 2024-12-27 18:31:56 +02:00
Cypher Pepe
686faa8e9a Fix: Enhance Schema Definitions and Resolve Typo (#64)
* refactor compile-schemas.ts

* refactoring CompilationProcessor.ts

* typo CircomFilesResolver.ts

* Refactor setup-schemas.ts

* fix CompilationProcessor.ts

* Update CompilationProcessor.ts

* Update CompilationProcessor.ts
2024-12-26 16:30:09 +02:00
Kyrylo Riabov
bf35a14cd3 Bump parser version to support quo operations and parentheses in expressions (#70) 0.5.8 2024-12-25 21:59:23 +02:00
Kyrylo Riabov
7e1b57dbc1 Fix issue with false positive resolution in if statement in circom parser (#69) 0.5.7 2024-12-25 12:38:03 +02:00
Kyrylo Riabov
6c315d56ca Fix issue with caching parsedInputs (#68)
* Fixed issue with caching parsedInputs

* Completed tests

* Updated versions

* Fixed .only and assigned empty obj

* Deleted utils
0.5.6
2024-12-23 17:40:58 +02:00
Oleg Komendant
63822ae4d5 Bump zktype version (#67) 0.5.5 2024-12-19 12:33:23 +02:00
Kyrylo Riabov
43d339f7a0 Bump circom parser version (#66)
* Bump circom parser version

* Downgrade package version
2024-12-18 16:09:35 +02:00
Oleg Komendant
ebcc9fe022 Fix bug with names with spaces (#65)
* Fix bug with names with spaces

* Add paths validation
0.5.4
2024-12-17 16:58:05 +02:00
Oleg Komendant
ff78a4bb09 Add verifier name suffix for the duplicated template names (#62)
* Add verifier name suffix for the duplicated template names

* Move tasks implementations from the index file to the separate files

* Add dev comment & update README

* Fix unit test

* Add array support

* Update hardhat tasks description
0.5.3
2024-11-25 19:06:48 +02:00
Kyrylo Riabov
f9fb2632ba Add an ability to resolve arguments in component main (#63) 2024-11-22 11:16:12 +02:00
Oleg Komendant
20e50c3f9d Change hash function from the MD5 to the SHA1 (#57)
* Change hash function from the MD5 to the SHA256

* Change hash to the sha1

* Made file hashing asynchronous (#58)

* Fix code style

---------

Co-authored-by: Denys Riabtsev <68712122+1KitCat1@users.noreply.github.com>
0.5.2
2024-11-15 20:21:53 +02:00
Artem Chystiakov
c6aa7228f1 Plonk (#56)
* Feature/plonk (#47)

* Add base plonk implementation

* Update doc comments

* Fix Reporter logs

* Add CircuitZKitBuilder class

* Small fixes

* Fix multiple ploring systems user flow

* Fix outdated subtask params

* added getPlonkConstraintsNumber function

* Add unit tests

* Update README file

* ptauId calculation fix

* fixed ptauId calculation for different proving systems

* quick readme fix

---------

Co-authored-by: mllwchrry <mariia.zhvanko@gmail.com>
Co-authored-by: Artem Chystiakov <artem.ch31@gmail.com>

* Update zktype version

* Circom 2.2.0 (#53)

* updated latest supported Circom version to 2.2.0

* fixed unsupported versions test

* fixed platform-specific test

* restricted bus usage

* fixed error message

* update readme

* Fix rename logic for the cpp Makefile

* Update version

---------

Co-authored-by: Oleg Komendant <44612825+Hrom131@users.noreply.github.com>
Co-authored-by: mllwchrry <mariia.zhvanko@gmail.com>
Co-authored-by: Oleh Komendant <oleg02kom@gmail.com>
0.5.1
2024-11-14 16:29:43 +02:00
Kyrylo Riabov
8674b4f667 Add context of the resolved circuit to the cache (#55)
* Added context of the resolved circuit to the cache

* Fixed typo in test

* Reverted changes. Reverted context caching. Cached parsing result
0.4.14
2024-11-09 19:26:04 +02:00
Oleg Komendant
120bd7a56c Fix compile cache (#52) 0.4.13 2024-11-04 16:46:00 +02:00
Kyrylo Riabov
86f97e8d65 Add support for updated parser (#51)
* Added support for new parser

* Updated parser version

* Updated version. Fixed typo. Handled errors gracefully. Handled null values

* Made filtering of errors simpler

* Updated error filtering
0.4.12
2024-11-01 14:29:02 +02:00
Oleg Komendant
de2ed6f0c9 Set O1 optimization by default (#50)
* Set O1 optimization by default

* rollback version

---------

Co-authored-by: Artem Chystiakov <artem.ch31@gmail.com>
2024-11-01 14:03:02 +02:00
Mllw Chrry
f9009fd280 Tests dockerization (#48)
* add tests dockerization

* fixed compile with library test

* made Dockerfile dynamic

* removed dockerized coverage

* removed alpine, dockerized coverage

* moved test-docker command to script

* try to improve docker

* update dockerignore

---------

Co-authored-by: Artem Chystiakov <artem.ch31@gmail.com>
2024-11-01 13:44:08 +02:00
Oleg Komendant
755e538afe Fix compile cache schema (#49) 0.4.11 2024-10-30 17:31:35 +02:00
Mllw Chrry
93224ef8d6 SnarkJS termination fix (#46)
* upgraded snarkjs version, added termination fix

* updated latest supported circom version

* got an old latest supported circom version back

* refactored curve termination

* placed vkey generation loop in try statement

* fix readme

---------

Co-authored-by: Artem Chystiakov <artem.ch31@gmail.com>
0.4.10
2024-10-29 18:50:46 +02:00
Mllw Chrry
b43795447a Optimization flags (#45)
* added circom compiler optimization flags support

* removed oldSimplificationHeuristics and simplificationSubstitution flags

* made optimization flag undefined by default, updated readme
2024-10-29 14:50:47 +02:00
Kyrylo Riabov
e3e92caf02 Add logic to ignore unsupported contexts (#44)
* Added logic to ignore unsupported contexts

* Fixed typo

* Improved message structure

* Fixed typo

* Fixed typo

* Simplified logic

* Added comment

* Resolved imports

* Updated versions

* Fixed typos

* Deleted colon
0.4.9
2024-10-22 16:55:45 +03:00
Kyrylo Riabov
9c0f597160 Add ability to parse var declarations (#43)
* Added ability to parse var declarations

* Added visitTemplateStmt to handle if stamens

* Added test for correct signal dimensions resolution

* Remove redundant if

* Remove redundant check for 0n

* upd lock

* update readme

---------

Co-authored-by: Artem Chystiakov <artem.ch31@gmail.com>
0.4.8
2024-10-17 19:43:25 +03:00
Artem Chystiakov
15f657ee4f updated circom-parser (#42) 0.4.7 2024-10-14 17:02:36 +03:00
Oleg Komendant
abd18d7587 Fix unit tests (#38) 0.4.6 2024-10-11 20:10:55 +03:00
Oleg Komendant
f944259266 Feature/compiler version (#37)
* Update oldest supported compilers version

* Move WASM runner and update dependencies

* Remove old comments and format files

* Fix versions check

* Add dev comment
2024-10-11 17:25:49 +03:00
Artem Chystiakov
18f330414e fix readme 2024-10-10 17:48:52 +03:00