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

868 commits

Author SHA1 Message Date
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
dark64
6ea4cfbe84 div by zero 2021-08-17 18:44:25 +02:00
dark64
934d36078e use result folder in zir propagation 2021-08-17 18:31:52 +02:00
schaeff
2727200b10 Merge branch 'develop' of github.com:Zokrates/ZoKrates into rc/0.7.6 2021-08-17 16:54:57 +02:00
Thibaut Schaeffer
872b07d3cb
Merge pull request #969 from Zokrates/avoid-blowup-on-element-wise-eq
Avoid AST depth blowup on complex equality
2021-08-17 01:27:27 +02:00