1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00
Commit graph

972 commits

Author SHA1 Message Date
schaeff
e6e1844a34 fix integration tests 2022-05-18 14:26:55 +02:00
schaeff
6b36e4b23b clippy 2022-05-18 13:33:22 +02:00
schaeff
5cfb2a9055 add curve and scheme to vk and proof, remove options from cli and detect automatically 2022-05-18 12:55:49 +02:00
schaeff
46e41687b5 fix features 2022-05-13 14:29:14 +02:00
schaeff
ed04267a9a complete refactor 2022-05-13 12:34:05 +02:00
dark64
07adc21dec fix failing tests 2022-05-11 23:54:17 +02:00
dark64
e2bd653944 add changelog, fix merge 2022-05-11 23:34:05 +02:00
dark64
667bc8d077 merge develop 2022-05-11 23:09:39 +02:00
dark64
f1c7d76cf5 fix tests 2022-05-11 21:33:57 +02:00
schaeff
a4229310d5 bump versions, generate changelog 2022-04-18 18:37:43 +02:00
dark64
36169df20d add proof formatting to zokrates-js, fix edge case in print-proof cli command 2022-04-15 20:07:30 +02:00
dark64
c1b05e01ff merge develop, resolve conflicts 2022-04-12 15:54:14 +02:00
schaeff
2c1ffccb75 bump versions, generate changelog 2022-04-11 15:47:03 +02:00
dark64
814f351ddd fix tutorial tests, explicitly invoke the interpreter 2022-04-11 15:13:02 +02:00
schaeff
b96bfba90e remove log, fix warning 2022-04-08 14:32:19 +02:00
schaeff
e79eee26f1 merge dev 2022-04-08 12:24:36 +02:00
Thibaut Schaeffer
ed31b68904
Merge pull request #1122 from Zokrates/fix-tutorial-tests
Fix side-effects in tutorial tests
2022-04-08 10:42:28 +02:00
dark64
eca5c400a9 fix side-effects in tutorial test 2022-04-07 19:22:38 +02:00
schaeff
ea16bec13b revert changed tutorial file 2022-04-07 18:52:59 +02:00
schaeff
8df23f0020 revert changed tutorial file 2022-04-07 18:17:34 +02:00
dark64
2b9c1e8854 change syntax in core and stdlib tests 2022-04-07 16:04:40 +02:00
dark64
16f2b4c3ac change syntax in cli/examples 2022-04-06 20:23:58 +02:00
dark64
66b273dabc remove if-expressions 2022-04-06 15:41:38 +02:00
schaeff
2adc7f1ccc add constraint count 2022-04-06 12:51:44 +02:00
schaeff
4e11eee090 fix test, increase parallel 2022-04-05 15:09:34 +02:00
schaeff
0bc5e0acd3 merge dev 2022-04-04 15:50:54 +02:00
schaeff
d819d6668c fix dependencies 2022-04-04 15:44:55 +02:00
schaeff
fc8de3e1f2 clean 2022-04-04 15:37:03 +02:00
schaeff
8d9064797c implement contract testing for all schemes 2022-03-31 18:53:28 +02:00
schaeff
30483984a8 wip 2022-03-31 13:57:37 +02:00
dark64
2de6823ae9 merge develop, fix conflicts 2022-02-21 03:02:58 +01:00
dark64
9025123299 rename constants module 2022-02-08 19:45:42 +01:00
dark64
81198ba6fc fix constants, update js tests 2022-01-28 13:59:29 +01:00
dark64
8659b7533c merge develop, refactor 2022-01-28 12:13:32 +01:00
schaeff
aa3f1fc1ed bump versions, generate changelog 2022-01-21 10:52:51 +01:00
Thibaut Schaeffer
48a04041c0
Merge pull request #1090 from Zokrates/deploy
Merge back 0.7.10
2022-01-20 18:34:38 +01:00
Thibaut Schaeffer
94cacb662b
Merge pull request #1077 from Zokrates/improve-merkle-examples
Rewrite merkle examples
2022-01-20 18:29:39 +01:00
schaeff
a757921bad fix, changelog, constant depth 2022-01-20 18:01:15 +01:00
schaeff
1cd049ac93 add tests, add book entry, fix inference 2022-01-11 11:48:16 +01:00
schaeff
e5184a236b implement assignees, add examples 2022-01-10 18:49:05 +01:00
dark64
469b9d2d84 merge dev, fix conflict 2022-01-02 22:33:33 +01:00
dark64
597d54963a add missing hashtag to ztf 2021-12-28 14:17:38 +01:00
Thibaut Schaeffer
85ca126e03
Merge pull request #1072 from Zokrates/improve-cli-inspect
Improve inspect command
2021-12-27 11:15:10 +01:00
dark64
02176fd6c9 error handling 2021-12-17 15:02:26 +01:00
dark64
f1b33d0a16 use buf writer 2021-12-17 14:54:21 +01:00
dark64
b855fa753c change message 2021-12-17 14:29:57 +01:00
dark64
8774040532 refactor 2021-12-17 14:20:58 +01:00
schaeff
56997342f1 rewrite merkle examples 2021-12-17 13:00:46 +01:00
schaeff
ace6b24cfb bump version, increase circle timeout 2021-12-16 16:14:11 +01:00
dark64
610d36b6a9 fix m1 build 2021-12-16 15:48:23 +01:00
dark64
67b848ba97 improve inspect command 2021-12-16 12:24:13 +01:00
dark64
068000ea30 merge dev 2021-12-14 19:24:15 +01:00
dark64
d18af2dcf7 add ark groth16 dimension to integration test 2021-12-14 19:13:47 +01:00
dark64
01995f2e16 update cli 2021-12-14 19:01:33 +01:00
schaeff
048221bafd fix book link 2021-12-14 15:45:42 +01:00
schaeff
79e75cb726 disable m1, fix book, release 2021-12-14 15:25:12 +01:00
schaeff
565a411e13 bump zokrates_field dep 2021-12-14 11:35:35 +01:00
schaeff
253bbb91ab bump versions, generate changelog 2021-12-14 11:21:12 +01:00
Thibaut Schaeffer
c450f522e9
Merge pull request #1044 from Zokrates/mpc
Adding support for MPC
2021-12-14 11:13:34 +01:00
Thibaut Schaeffer
48c8023aad
Merge pull request #1067 from Zokrates/update-rust-toolchain
Update rust toolchain version
2021-12-13 14:42:23 +01:00
dark64
067ff2cf43 fix conflict 2021-12-13 10:44:56 +01:00
Darko Macesic
113538abc9
Merge pull request #1064 from Zokrates/condition-redefiner
Remove condition cache, add condition redefiner
2021-12-10 18:24:05 +01:00
dark64
95a931c579 clippy 2021-12-10 15:08:15 +01:00
dark64
db9615bdac merge develop, fix conflicts 2021-12-10 12:38:44 +01:00
schaeff
0877800cef fix smt test 2021-12-08 15:03:31 +01:00
schaeff
f712de4767 address review comments 2021-12-08 14:42:22 +01:00
schaeff
0ca5a4a7a3 clean 2021-12-07 19:25:24 +01:00
schaeff
9d95e08e30 merge dev 2021-12-07 19:17:55 +01:00
dark64
36362101f4 merge dev, fix conflicts 2021-12-07 14:44:23 +01:00
dark64
71a8121854 wrap phase2 in core 2021-12-06 19:50:25 +01:00
dark64
edf267abed support bls12_381 in mpc ceremony 2021-12-02 19:46:55 +01:00
dark64
7976774718 apply suggestions, remove mpc crate 2021-12-02 18:38:18 +01:00
dark64
3046f21e26 fix features 2021-11-25 20:13:06 +01:00
dark64
f2481d3dec refactor 2021-11-25 20:07:17 +01:00
dark64
bd34950f3f fix needless borrow 2021-11-24 18:28:55 +01:00
dark64
ccdce7a5ae minor refactor 2021-11-24 18:24:21 +01:00
schaeff
a5ca49f98c bump versions, changelog 2021-11-23 19:34:10 +01:00
dark64
97c03d12be add zokrates_mpc crate 2021-11-23 15:35:54 +01:00
dark64
5306ffe35e cleanup 2021-11-15 15:02:50 +01:00
Thibaut Schaeffer
d2e8b905c1
Merge pull request #1025 from Zokrates/cheaper-dynamic-comparison
Reduce the cost of dynamic LT checks
2021-11-11 10:21:55 +01:00
Darko Macesic
71872294b7
Merge pull request #1037 from Zokrates/remove-return-1
Remove confusing returns
2021-11-09 17:34:03 +01:00
Thibaut Schaeffer
d17d3121c9
Merge pull request #982 from Zokrates/type-alias
Implement type aliasing
2021-11-08 11:08:37 +01:00
dark64
2adea4b3de minor cleanup 2021-11-04 19:38:31 +01:00
dark64
2b1976e539 typo 2021-11-04 14:17:23 +01:00
dark64
362385a814 fix command messages, force display order 2021-11-04 12:42:32 +01:00
dark64
44b4fdde5a fix tests 2021-11-03 19:09:36 +01:00
schaeff
4cd0017f17 remove commented out code 2021-11-03 18:25:35 +01:00
schaeff
fce7fe8a97 adjust message 2021-11-03 17:08:18 +01:00
dark64
56ce03fe45 update radix file 2021-11-03 15:47:55 +01:00
dark64
38ff7f4f03 update docs 2021-11-03 15:44:51 +01:00
schaeff
81bd3671c3 fix libsnark, fix rng tutorial 2021-11-03 13:49:09 +01:00
schaeff
3c12feb74e fix clippy, implement embeds, fix tutorial 2021-11-03 11:52:24 +01:00
schaeff
d045121a7c remove unconstrained detection 2021-11-02 17:39:36 +01:00
dark64
a4811c98e0 refactor mpc commands, add mpc tutorial to the book 2021-11-02 15:29:59 +01:00
schaeff
a58f77ddfc fix libsnark 2021-10-29 14:36:43 +02:00
schaeff
30a04734b5 use iterators where possible, switch to cbor 2021-10-29 13:51:43 +02:00
dark64
06dc9348b3 add mpc verify command 2021-10-27 22:46:58 +02:00
dark64
b69a7d29a5 first working mpc prototype 2021-10-27 19:18:20 +02:00
dark64
5dd4644989 wip 2021-10-26 14:58:43 +02:00
schaeff
dad17b79e0 proof of concept of iterator treatment starting at flattening 2021-10-25 16:08:45 +02:00
schaeff
5ff16b25f8 change gettingstarted example to assert 2021-10-18 16:54:38 +02:00
schaeff
003d4fc6f0 tweak operator table 2021-10-18 13:02:59 +02:00
schaeff
0d0d9e04a3 merge dev 2021-10-15 13:54:41 +02:00
schaeff
aba1309ea4 fix smt test 2021-10-15 13:16:27 +02:00
schaeff
2c7d806064 merge dev 2021-10-15 13:07:07 +03:00
schaeff
f98585b784 revert to original impl, add symetric check, add logs 2021-10-15 13:00:48 +03:00
dark64
740b7ee935 merge dev, add tests 2021-10-14 21:44:21 +02:00
schaeff
1e04d56a7b fix smt test 2021-10-13 19:48:52 +03:00
schaeff
6798b02a13 merge dev 2021-10-13 01:05:41 +03:00
schaeff
43b2a1d350 move to non breaking nightly, fix conflicts 2021-10-12 16:37:30 +03:00
Thibaut Schaeffer
1f8b15a114
Merge pull request #1029 from Zokrates/upgrade-rust-toolchain
Upgrade rust toolchain
2021-10-12 15:56:43 +03:00
schaeff
eb492153f4 add docs, use alias in example 2021-10-12 12:10:02 +03:00
schaeff
ba3752307c Merge branch 'develop' of github.com:Zokrates/ZoKrates into type-alias 2021-10-11 11:17:20 +03:00
Thibaut Schaeffer
65c4ccb316
Merge pull request #997 from Zokrates/strict-field-to-uint
Make field to uint casts truncate values bigger than uint max
2021-10-11 10:17:29 +03:00
schaeff
6de5a21d7e improve example 2021-10-08 20:26:28 +03:00
schaeff
f3f400a6bd fix tests, add breaking example 2021-10-05 21:20:55 +03:00
dark64
13c0af63a8 merge develop, fix conflicts 2021-10-05 17:56:47 +02:00
schaeff
2169010cf7 fix clippy 2021-10-05 14:01:50 +03:00
schaeff
075673fc0b Merge branch 'develop' of github.com:Zokrates/ZoKrates into type-alias 2021-10-05 12:45:50 +03:00
schaeff
b3ddfca69c merge dev, some tests failing 2021-10-04 20:32:33 +03:00
dark64
044456418a update changelog, bump versions 2021-10-04 17:45:29 +02:00
Thibaut Schaeffer
5f2d65124b
Merge pull request #975 from Zokrates/allow-calls-in-constants
Allow calls in constants
2021-10-01 18:01:52 +03:00
dark64
3ad8938897 add failing test for unpack 2021-09-27 20:51:30 +02:00
dark64
0d8d7549a2 canonicalize paths 2021-09-26 17:00:37 +02:00
dark64
11d9dd939b fix integration tests 2021-09-26 16:52:51 +02:00
schaeff
ca55c984e3 address review comments 2021-09-24 17:54:16 +03:00
schaeff
4b99a99815 remove explicit generics where applicable 2021-09-23 14:45:45 +03:00
schaeff
77a3888600 fix example 2021-09-21 13:07:26 +03:00
schaeff
43f4934586 detect out of bounds reads and writes 2021-09-21 13:00:36 +03:00
dark64
3975437fe4 improve tests 2021-09-16 15:54:03 +02:00
dark64
11b595ef21 implement ternary operator 2021-09-15 19:39:01 +02:00
schaeff
187a1e834b refactor for ordered symbols, clean, propagate constants globally to cover constants in function key 2021-09-10 23:27:19 +02:00
schaeff
8f7cf36eec fold module when id is found for constant calls inliner 2021-09-06 19:25:29 +02:00
Thibaut Schaeffer
db25d3f159
Merge pull request #977 from Zokrates/handle-unconstrained-vars
Graceful handling of unconstrained variable detection
2021-09-06 16:47:23 +02:00
schaeff
97a034cdb9 implement imported constants, implement inference on generic structs 2021-09-04 23:36:14 +02:00
schaeff
edc8c015c4 add breaking test 2021-08-30 18:00:48 +02:00
dark64
fce2c9f32c flatten prog struct 2021-08-30 15:06:21 +02:00
Thibaut Schaeffer
cf9ca9bf72
Merge pull request #957 from Zokrates/zir-propagation
Apply propagation in ZIR
2021-08-27 15:59:17 +02:00
schaeff
88197a57d6 refactor to keep constants until reduction, then try to inline their definitions 2021-08-27 15:57:14 +02:00
dark64
2a94af6ff0 implement type aliasing 2021-08-25 18:21:41 +02:00
dark64
3235cf4df9 fix div by zero test 2021-08-23 21:23:44 +02:00
dark64
b01c477a55 merge develop, fix conflicts 2021-08-23 15:54:53 +02:00
dark64
b7a035025d add test for unconstrained input 2021-08-23 15:51:56 +02:00
schaeff
ce158ca5dc add breaking test when propagation is not powerful enough 2021-08-23 13:10:23 +02:00
dark64
db33856ed5 fix test 2021-08-23 00:56:45 +02:00
schaeff
7989ff3f55 Merge branch 'develop' of github.com:Zokrates/ZoKrates into allow-calls-in-constants 2021-08-21 00:20:05 +02:00
schaeff
cd468390bf Merge branch 'develop' of github.com:Zokrates/ZoKrates into fail-on-mistyped-constant 2021-08-21 00:19:31 +02:00
schaeff
c71b31d1af refactor constants to keep track of them across modules 2021-08-21 00:08:12 +02:00
schaeff
b5f243965d detect mistyped constant during constant inlining 2021-08-18 23:51:00 +02:00
dark64
f7f6a8421a merge develop, fix conflict 2021-08-17 18:46:56 +02:00