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

868 commits

Author SHA1 Message Date
schaeff
35adb3f59a enable gadgets for ethereum sha test 2018-10-18 12:16:26 +02:00
schaeff
0f53e5d553 port sha256 to arrays wip 2018-10-16 19:41:20 +02:00
schaeff
c8a6275e72 solve conflict 2018-10-16 15:08:45 +02:00
schaeff
eb0fd4ca95 fix conflict 2018-10-15 13:19:33 +02:00
schaeff
3a35c134b0 add rough constant propagation 2018-10-12 20:21:46 +02:00
schaeff
7b7e6a11c6 Merge branch 'propagation' into array 2018-10-12 16:59:00 +02:00
schaeff
8b2319b0cb add loop unrolling, post flattening constant propagation 2018-10-12 16:40:11 +02:00
sdeml
da6922ac72 added integration test for sha_ethereum 2018-10-10 14:21:49 +02:00
Valentin Ganev
acd5693fab remove unused parameter 2018-10-10 11:19:24 +03:00
schaeff
a21cbe7c30 add propagation through variables 2018-10-10 00:12:26 +02:00
sdeml
e1e16efe0b added gadgets flat required comment 2018-10-09 21:42:58 +03:00
sdeml
e419a3a320 added example description 2018-10-09 21:42:58 +03:00
schaeff
c8d02fc425 add basic propagation without identifiers 2018-10-09 20:35:27 +02:00
sdeml
66ca995df3 working prototype 2018-10-09 21:33:02 +03:00
schaeff
328fa7b2bf simplify dex further, adjust display function 2018-10-09 17:23:32 +02:00
schaeff
16f03e34b1 add and fix tests, make size array arbitrary, optimize example 2018-10-08 20:54:17 +02:00
schaeff
9d98afef9d add array update wip 2018-10-08 17:20:17 +02:00
schaeff
0795da359b implement dynamic lookup with simple range check 2018-10-05 17:57:14 +02:00
Tjaden Hess
8c382bd5e4 Merge branch 'develop' into boolean_operators 2018-10-05 05:24:47 -10:00
schaeff
004df5ebb6 merge develop, use c for children debug 2018-10-05 14:21:30 +02:00
JacobEberhardt
5f68001973
Merge pull request #131 from Schaeff/string-free-flat-absy
Remove Strings from the flat absy
2018-10-05 10:55:00 +02:00
schaeff
584960248d fix version number 2018-10-05 10:19:13 +02:00
Tjaden Hess
e142662be5 Merge branch 'develop' into boolean_operators 2018-10-04 15:27:57 -04:00
Tjaden Hess
af27840341 Fix parsing conditions 2018-10-03 17:44:42 -04:00
schaeff
04d1ba0545 fix pow example 2018-10-02 14:38:50 +02:00
Tjaden Hess
536465e003 Add boolean && test 2018-09-26 12:12:08 -10:00
schaeff
9abcecabeb merge type system changes 2018-09-26 19:54:05 +02:00
schaeff
ba04fd0481 merge develop, remove is_linear from typed 2018-09-26 17:37:56 +02:00
Thibaut Schaeffer
41b42e06eb
Merge pull request #61 from lubieplacki/fix-pow-number-base
Fixed power expression with a number base in flattener
2018-09-26 13:27:42 +01:00
schaeff
c756296655 fix issue with overlapping indices in flatvariables, clean 2018-09-25 16:37:42 +02:00
schaeff
6ab5003603 add tests, remove loops in substitution, fix lt 2018-09-24 16:47:06 +02:00
schaeff
e2a6d4e999 fix lt 2018-09-21 23:14:42 +02:00
schaeff
3674c7b2b7 remove binary variables, stop using prefix when resolving function calls 2018-09-21 21:32:36 +02:00
schaeff
b6ae2cbbb0 remove unrelated example 2018-09-19 14:41:11 +02:00
schaeff
5fd67befcb merge develop, make base arbitrary 2018-09-19 12:48:21 +02:00
schaeff
ee8d7bf700 add inline arrays, function call flattening, parser 2018-09-18 19:37:47 +02:00
schaeff
2dcbc48b45 remove references in r1cs 2018-09-17 18:19:04 +02:00
schaeff
848b44dc14 disallow declaration without assignment 2018-09-13 12:52:33 +02:00
schaeff
b3db7c5189 compress signatures, fix integration tests 2018-09-13 12:01:17 +02:00
schaeff
fec876a32a fix examples 2018-09-12 14:13:54 +02:00
schaeff
60c63c1aef merge develop 2018-09-12 12:08:56 +02:00
Dimitris Apostolou
f6c30a7377
Fix typos 2018-09-09 13:35:33 +03:00
JacobEberhardt
de57738377
Merge pull request #119 from Schaeff/fix-lt-example
Fix lt issue
2018-09-03 10:52:20 +01:00
JacobEberhardt
4733d75b6f
Merge pull request #110 from Schaeff/remove-path-from-core
Remove path from zokrates_core
2018-09-01 14:17:35 +01:00
schaeff
36f66194cc use conditions for sum checks, fix example expected witness 2018-08-31 13:41:13 +02:00
schaeff
a553dae84a add breaking test, fix integration tests 2018-08-31 10:55:28 +02:00
schaeff
6883632144 add light flag 2018-08-23 16:43:15 +02:00
schaeff
040b5f6f0e fewer clones 2018-08-23 16:12:15 +02:00
schaeff
b7ae64f6e0 update integration tests 2018-08-21 17:47:57 +02:00
schaeff
ec30a23d5b better error messages, wrap scope operations 2018-08-21 16:52:29 +02:00
schaeff
b32ccc5e4f implement type inference for multidef 2018-08-21 13:05:17 +02:00
schaeff
b4ad991bde port most examples to new syntax 2018-08-20 16:43:53 +02:00
schaeff
762999c0c3 add type annotation to definitions, unify reserved keyword handling 2018-08-16 18:06:00 +02:00
schaeff
8380ec6c0c split function parsing, add return types, parse signature, check return statement 2018-08-16 17:28:16 +02:00
schaeff
7d536ec66d move examples, adjust example code 2018-08-15 18:38:08 +02:00
schaeff
e048001ce8 adapt test to new compile API 2018-08-15 18:30:33 +02:00
schaeff
ea5d73cc0d merge develop 2018-08-15 18:10:23 +02:00
JacobEberhardt
c52a21f6ce
Merge pull request #104 from Schaeff/upgrade-develop
Upgrade develop to include master patches
2018-08-15 17:59:24 +02:00
schaeff
5b5a6e87a6 remove path from zokrates_core, delegate alias and location responsibility to resolvers 2018-08-15 17:17:02 +02:00
schaeff
4b6d25b698 move examples to cli, fix lt output 2018-08-13 13:33:05 +02:00
schaeff
7deae155d5 merge master changes 2018-08-09 18:40:02 +02:00
schaeff
90d016136a rename binary to zokrates 2018-08-08 18:18:33 +02:00
schaeff
101bbb17f4 merge develop, resolve conflicts 2018-08-08 12:46:25 +02:00
schaeff
a93bb54589 include all packages in tests and build 2018-08-01 11:50:35 +02:00
schaeff
41cec981f7 ignore integration tests outside development and master 2018-07-31 23:50:51 +02:00
schaeff
9f5f9d03f5 remove expected output from integration tests 2018-07-31 19:19:26 +02:00
schaeff
ec1b84a6b5 fix integration tests 2018-07-31 19:15:19 +02:00
schaeff
b3c0009615 extract fs resolver into new crate, rename crates, refactor importer 2018-07-31 16:57:21 +02:00