73 Commits

Author SHA1 Message Date
erhant
987e293291 update patch, fix formattings, pnpm update 2024-12-01 16:11:34 +03:00
Ben Green
49ab4c8e1e WitnessTester.compute supports multiple output signals (#104)
* WitnessTester.compute supports multiple output signals

* Missed test circuit source
2024-12-01 16:06:52 +03:00
numtel
ae0a89c269 Optimization level null uses Circom default 2024-10-16 17:05:28 -07:00
erhant
48bc6b91bb bump minor ver + small lint fix [skip ci] 2024-09-10 00:14:45 +03:00
Erhan
14d9ca0318 Merge pull request #89 from erhant/erhant/c-tester
Add C testing support to `WitnessTester` (WIP)
2024-09-10 00:02:39 +03:00
erhant
b655f7c0fb fix doc 2024-09-10 00:01:06 +03:00
numtel
4cfbfadfd7 Fix tests and add note about default value 2024-09-01 18:21:15 -04:00
erhant
d6746a8b1c first attempts, stuck at arm64 errors 2024-08-06 00:13:25 +03:00
erhant
6cfa054478 small edits, bumped version as well 2024-08-05 22:46:22 +03:00
numtel
1e40dc6310 Auto-detect pragma custom_templates for main component instantiation
Supercedes #86
2024-07-26 14:52:10 +02:00
Erhan
f210e06030 Major Refactors (#82)
* migrate tests under their own folder

* more refactors + `pkgroll` added

* todo commander

* migrate CLI to `commander`

* fixed proof tester types

* added `list` command

* use jest, use pnpm, more refactors & renames & typings

* remove redundant hardhats, better jest

* up version
2024-05-18 22:02:47 +03:00
Erhan
c9f951a895 fixes & new version (#77)
* fixes & new version

* comments
2024-04-26 22:19:10 +03:00
erhant
ab0f9d7e4e fix skipLibCheck, add plonk optim check, formatting 2024-04-15 21:10:56 +03:00
numtel
ed443234b9 Fix missing elements in fflonk calldata
* Also tests that the calldata works on the verifier
2024-04-14 21:49:09 -07:00
erhant
0af1603b31 Minor fixes (#69)
* add more tests for error catching

* calldata fixes as well

* bump version
2024-02-17 13:12:40 +03:00
erhant
1a787a4521 Fix input length checks (#66)
* fix input length check

* Update package.json

* add unhandled error check
2024-02-15 22:48:41 +03:00
erhant
b290175699 Prettier calldata (#64)
* prettier calldata

* fix test, add docs
2024-02-07 23:05:15 +03:00
erhant
93c7cf91d6 Refactor & prettify tests (#55)
* refactored and prettified tests

* new version with the code reorg
2024-01-27 21:26:45 +03:00
erhant
2f8fc3ff7b remove duplicate test about c witness 2024-01-24 15:59:10 +03:00
ctrlc03
5d82bfc33d refactor(setup): remove initPhase2 and add extract vKey method (#51)
* refactor(setup): remove initPhase2 and add extract vKey method

* do not remove the downloaded ptau

---------

Co-authored-by: erhant <erhany96@gmail.com>
2024-01-24 15:31:02 +03:00
ctrlc03
220ab9b648 feat(build): add flag to optionally generate c witness calculator (#44)
* feat(build): add flag to optionally generate c witness calculator

* tiny refactor & bump version

* separated witness compilation test

---------

Co-authored-by: erhant <erhany96@gmail.com>
2024-01-14 14:09:43 +03:00
erhant
c39a015d04 added npm workflow & dirCircuit tests 2023-11-29 18:26:11 +03:00
erhant
b11689a5a3 Added custom circuit config and optional data args (#29)
* added custom circuit config and optional data args

* added docs
2023-08-30 22:05:17 +03:00
erhant
63fcec7dda Small fixes (#24)
* tiny tiny fixes

* added teardown

* fixed compute, added changelogs
2023-07-15 16:14:40 +03:00
erhant
a22828faef fix test 2023-07-01 15:57:19 +03:00
erhant
b527615035 AssertionError not working, revert to original 2023-07-01 15:26:35 +03:00
erhant
a0dc8d3764 fixed witness tester AssertionError checks 2023-07-01 14:26:43 +03:00
erhant
559ff6e4d5 more refactors & docs 2023-07-01 12:58:37 +03:00
erhant
5b44c52f71 refactored testers, added docs to readme 2023-06-30 17:26:32 +03:00
erhant
00e646979e added tests 2023-06-29 16:56:21 +03:00
erhant
3858f4b666 test workflow? 2023-06-28 23:15:55 +03:00
erhant
8ae3b15494 tester & config tests 2023-06-28 17:46:21 +03:00
erhant
8ee00ab604 perhaps write these ones in Jest? 2023-06-16 00:35:20 +03:00
erhant
2fa47050e3 small rfks, added exports 2023-06-15 23:39:33 +03:00
erhant
2e7bfeb465 prooftester and wasmtester as circomkit utils 2023-06-12 18:45:38 +03:00
erhant
ea45fca714 refactoring testers 2023-06-08 00:06:49 +03:00
erhant
b9b0d09b18 groth16 setup implemented 2023-06-07 22:47:36 +03:00
erhant
fe88a1fecb overall improvements, v0.0.3 2023-06-03 20:41:49 +03:00
erhant
85c123fdc8 ptau and info 2023-06-03 19:06:12 +03:00
erhant
4d54425f83 gotta go sh to ts ;) 2023-06-01 00:09:08 +03:00
erhant.eth
0e34a9e2ea Refactors, instantiate only sh now (#9)
* maaaajor rfk, instantiate as shell now

* smol rfks
2023-05-31 21:33:30 +03:00
erhant.eth
083c6acc84 sha256 added (#8) 2023-05-20 22:32:22 +03:00
erhant.eth
2e6e50c408 Refactored instantiate and readme (#7)
* refactored `instantiate`

* better `readme`
2023-05-20 18:28:11 +03:00
erhant
69863fc2d2 outputs 2023-05-20 00:30:46 +03:00
erhant
64202db37e static func + better outputs soon 2023-05-19 22:35:07 +03:00
erhant
f895526d4e better testing, readme fixes 2023-05-05 14:25:42 +03:00
erhant
929f3bf2af fix doc 2023-05-03 00:20:09 +03:00
erhant
47e76a7833 better typings 2023-05-03 00:15:45 +03:00
erhant
b108d6e871 curves, typing rfk, debug added 2023-05-02 23:04:49 +03:00
erhant
9ad868044d disabled multiplier proof test at start 2023-04-23 23:11:14 +03:00