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

143 commits

Author SHA1 Message Date
dark64
740b7ee935 merge dev, add tests 2021-10-14 21:44:21 +02:00
dark64
c3288b93c5 fix tests 2021-10-13 19:03:06 +02:00
dark64
302f561993 fix indentation 2021-09-20 18:30:03 +02:00
dark64
1dbd753ac7 Add optional message to assert statement 2021-09-20 18:23:24 +02:00
Thibaut Schaeffer
f717d243b2
Merge pull request #945 from Zokrates/generic-structs
Implement generic structs
2021-08-09 11:58:34 +02:00
schaeff
737d224d6b add gm17 passing test 2021-07-25 16:56:59 +02:00
dark64
aba16cdc8b use field constants to avoid curve dependant code 2021-07-14 14:10:16 +02:00
schaeff
ef4241e177 resolve conflicts, add errors for ark 2021-07-08 10:42:40 +02:00
Thibaut Schaeffer
ffac53c793
Merge pull request #918 from Zokrates/recursive-verifier
Recursive verification
2021-07-07 18:45:09 +02:00
dark64
bda8c0b0b6 add instructions to snark verification tests 2021-07-07 17:52:37 +02:00
dark64
41d30c5d7d update test description 2021-07-07 15:58:59 +02:00
dark64
6f0821f129 remove unreachable variant, add comments to snark verification tests 2021-07-07 15:46:56 +02:00
schaeff
575b1b1626 update tests 2021-07-06 18:31:03 +02:00
dark64
ce3a137432 rename verify embed, update changelog 2021-07-05 15:58:53 +02:00
dark64
b4ebb1f7c1 cleanup 2021-07-05 12:18:44 +02:00
schaeff
9fc66516c4 add test 2021-06-30 13:18:38 +02:00
dark64
b1974da128 add FIELD_MIN and FIELD_MAX constants to field module, update tests 2021-06-17 13:27:24 +02:00
dark64
c3cc316591 Merge branch 'develop' into field-size-in-bits 2021-06-17 12:22:16 +02:00
Thibaut Schaeffer
17095e966c
Merge pull request #913 from Zokrates/use-global-constant-map
Use global constant map for constant inlining
2021-06-17 12:13:29 +02:00
dark64
c2e1f3d544 add FIELD_SIZE_IN_BITS constant embed 2021-06-08 20:42:32 +02:00
schaeff
5d6f29cb4e make tests pass 2021-06-08 16:56:29 +02:00
schaeff
1ff672a7e6 merge dev 2021-06-08 10:25:30 +02:00
schaeff
46cc73d735 wip 2021-06-08 10:12:37 +02:00
schaeff
3d05d7386b add breaking test 2021-06-07 16:13:24 +02:00
schaeff
8553d9d745 avoid creating empty if-else statements, cache conditions when flattening 2021-06-04 13:02:17 +02:00
schaeff
ef4484f7ef introduce if-else expression, implement case in propagation when consequence and alternative are equal, adjust tests 2021-05-31 19:55:23 +02:00
schaeff
6e37b15973 merge dev 2021-05-17 23:04:16 +02:00
Thibaut Schaeffer
62dc3b072e
Merge pull request #863 from Zokrates/remove-strict-ordering
Relax ordering of symbol declarations
2021-05-17 22:52:11 +02:00
schaeff
fcc308f27c implement and test nested conditionals 2021-05-17 15:18:41 +02:00
schaeff
e5c4bb0787 put internal isolation behind flag, add tests 2021-05-17 13:35:45 +02:00
schaeff
ad4717e67f put behind config flag 2021-05-17 10:34:37 +02:00
schaeff
8c164afb99 Merge branch 'develop' of github.com:Zokrates/ZoKrates into conditional-panics 2021-05-16 23:32:39 +02:00
schaeff
09b1e52608 implement blocks for all types, add breaking example for edge case 2021-05-16 23:03:05 +02:00
schaeff
a1a65378a7 introduce block into ast and implement isolation on that 2021-05-16 19:16:25 +02:00
dark64
7406f8769d visit struct type, improve tests 2021-05-13 19:02:38 +02:00
dark64
5c528535f2 support constants in declaration types 2021-05-13 15:09:06 +02:00
dark64
5539edc16b remove strict ordering of declarations, refactor import logic 2021-05-12 20:03:08 +02:00
Thibaut Schaeffer
dab975b7f7
Merge pull request #855 from Zokrates/fix-constant-struct-member-mutation
Fix constant assignment to constant struct member panic
2021-05-10 15:49:49 +02:00
Thibaut Schaeffer
e07a811ccd
Merge pull request #852 from Zokrates/fix-uint-subtraction-flattening
Fix flattening of uint subtraction for values smaller than the target
2021-05-06 18:48:57 +02:00
schaeff
d7c7c8ae03 better naming, comment 2021-05-06 11:46:45 +02:00
schaeff
20fa53b110 fix flattening of subtraction for value smaller than the target 2021-05-05 23:35:13 +02:00
schaeff
7c52016a6d more complete test 2021-05-05 16:26:27 +02:00
schaeff
f9ae089787 remove redef optimizer 2021-05-05 10:37:33 +02:00
Thibaut Schaeffer
0d804fa6a6
Merge pull request #792 from Zokrates/constant-def
Introduce constant definitions
2021-04-30 11:11:31 +02:00
Thibaut Schaeffer
4f17446e3d
Merge pull request #761 from Zokrates/constant-range-check
Constant range check
2021-04-29 20:14:24 +02:00
schaeff
6fddd74432 clean, fix native le test 2021-04-21 16:33:45 +02:00
schaeff
c105e801e5 fix to_bits, improve naming 2021-04-20 18:35:03 +02:00
Thibaut Schaeffer
aa8e603b11
Merge pull request #819 from Zokrates/update-rotr
Update bit rotation logic in sha256 and blake2s, add bit rotation tests
2021-04-19 21:02:40 +02:00
dark64
708981144d make tests panic if max constraint count is exceeded 2021-04-19 13:50:42 +02:00
dark64
39e28615e3 merge dev 2021-04-16 22:05:29 +02:00