schaeff
3bfc547f32
revert change
2019-06-07 14:45:55 +02:00
schaeff
3e410f84ee
add use_parameter for functions in flattening to add boolean constraints
2019-06-07 14:30:23 +02:00
schaeff
ba9d59d18d
clean
2019-06-06 19:38:26 +02:00
schaeff
addf79f20e
adapt inliner, remove String from function name, add stack to typed identifier
2019-06-06 19:06:16 +02:00
schaeff
2a7b33f8c1
fix tests
2019-06-06 17:25:06 +02:00
schaeff
ed29fad8da
add corelib, update use_sym to not register to the memory layout
2019-06-06 14:31:54 +02:00
schaeff
c4dec182d0
implement array flattening, remove bimap
2019-06-06 14:12:56 +02:00
schaeff
8ba7611aa0
make typed ast string free. wip
2019-06-05 21:38:16 +02:00
schaeff
9340825c17
remove from impl for assignee
2019-06-04 15:44:42 +02:00
schaeff
6877f1a589
remove strings from absy and replace with references to the input source
2019-06-04 15:42:17 +02:00
schaeff
5f040f484e
improve error messages in from_ast
2019-06-03 17:55:54 +02:00
schaeff
bf79194888
improve ast conversion error messages
2019-06-03 17:42:34 +02:00
schaeff
1bd3658372
pass span, information to ast
2019-06-03 17:16:19 +02:00
schaeff
361f9cbc63
merge dev
2019-06-03 16:21:13 +02:00
schaeff
2da3878093
fix imports
2019-06-03 15:57:16 +02:00
schaeff
28787cc42d
fix warnings
2019-06-03 10:43:16 +02:00
schaeff
365d03be65
bring pest parser and AST into tree as crates, adjust testing
2019-06-03 10:22:59 +02:00
schaeff
20e12c10ea
merge dev
2019-05-30 10:02:32 +02:00
schaeff
c06ca06cb7
register functionsymbol sourcemap
2019-05-29 19:37:58 +02:00
schaeff
a946299c71
adapt flatten tests
2019-05-28 14:51:50 +02:00
schaeff
39685271d9
improve inliner
2019-05-28 11:55:39 +02:00
schaeff
41a1b4d675
remove print
2019-05-27 11:19:19 +02:00
schaeff
645ea26dc2
use flattener technique for inliner
2019-05-24 13:19:08 +02:00
schaeff
7ebd8b9aad
implement inliner.wip
2019-05-23 19:32:34 +02:00
schaeff
4c5b9d5376
implement inliner.wip
2019-05-23 19:32:28 +02:00
Paul E
2f37ee62bf
fixes issue #347
2019-05-22 11:14:22 +02:00
schaeff
25bdb65d20
inliner wip
2019-05-21 21:50:43 +02:00
schaeff
b795feb7aa
fix positions in imports, fix flatten test
2019-05-21 15:57:46 +02:00
schaeff
68dcaa1b15
remove imported functions, remove functions_flattened from flattening, move corelib to static analyser step, clean
2019-05-21 15:30:44 +02:00
schaeff
50befe7804
remove diplay from typedfunctionsymbol, implement on module directly
2019-05-21 12:45:08 +02:00
schaeff
a7995b26dc
use FunctionKey for flattening
2019-05-21 12:26:21 +02:00
schaeff
04b95e6b36
define FunctionImport as ast node, remove FunctionSymbol node
2019-05-21 11:55:21 +02:00
schaeff
5fa5bd7b78
introduce FunctionDeclaration to help with function symbol checking
2019-05-20 18:17:57 +02:00
schaeff
48b0a0f4cf
implement display for FunctionSymbol
2019-05-20 16:25:50 +02:00
schaeff
fe54a62d27
remove dead code optimizer and inliner as they explore the call graph not the dependency graph, implement display for typed prog
2019-05-20 16:18:21 +02:00
schaeff
f663ddfb8e
adapt semantics tests
2019-05-20 15:49:37 +02:00
schaeff
624b113352
implement module map instead of rc
2019-05-17 20:57:33 +02:00
schaeff
e978cf07f7
implement external functions in typed absy
2019-05-15 15:04:52 +02:00
schaeff
a5df1febff
change compile to not flatten, update semantic checker
2019-05-15 11:12:11 +02:00
schaeff
e50364063a
complete switch to hashmap
2019-05-14 13:41:33 +02:00
schaeff
ba0a740b73
use hashmap for typed ast functions. WIP
2019-05-13 23:09:02 +02:00
schaeff
c6219be41d
process external functions in semantics
2019-05-13 20:59:54 +02:00
schaeff
801c63384d
fix typo in proof serialization... 🤦
2019-05-10 16:04:25 +02:00
schaeff
372c48a57d
bump version
2019-05-10 11:23:15 +02:00
schaeff
1c550c7c80
revert regex version change
2019-05-09 17:46:49 +02:00
schaeff
20790b72ff
switch to regex for parsing
2019-05-09 17:45:41 +02:00
schaeff
5f83bc86e7
introduce FunctionSymbol and adapt local functions
2019-05-08 17:42:32 +02:00
schaeff
da3ef6ae63
merge dev
2019-05-07 14:53:13 +02:00
schaeff
3335ad599a
use canonical representation in backend
2019-05-07 12:20:31 +02:00
schaeff
f8d63e3a38
rename prog to module in absy
2019-04-23 17:56:19 +02:00
schaeff
04873068af
Merge branch 'develop' of github.com:ZoKrates/ZoKrates into rc/0.4.5
2019-04-18 18:30:31 +02:00
schaeff
fd73d5f572
use extend instead of chain
2019-04-18 17:54:08 +02:00
schaeff
f7385fd4e7
bump versions
2019-04-18 15:59:50 +02:00
schaeff
fbabd00b12
fix borken wraning link
2019-04-18 15:55:13 +02:00
Thibaut Schaeffer
726c4994a8
Merge pull request #322 from eupn/cs-variables-vec
...
Replace BTree with Vec in LinComb
2019-04-18 14:32:45 +02:00
schaeff
b87e6966d5
change try_summand to cover non-canonical representations
2019-04-18 12:24:35 +02:00
schaeff
30c2447cfa
revert optimizer change and instead redefine equality of lincomb
2019-04-18 10:44:57 +02:00
Eugene P
8723d750f4
Remove unnecessary .map
2019-04-16 21:35:23 +03:00
Eugene P
3c37f7befe
Fix redefinition optimizer by forcing to operate on canonical LinComb
2019-04-16 21:33:49 +03:00
Eugene P
01c4d1816a
rustfmt
2019-04-16 12:24:07 +03:00
Eugene P
e3f5cf047d
Implement Add/Sub and CanonicalLinComb
2019-04-16 12:12:51 +03:00
schaeff
d06f03d5f0
upgrade core to 2018
2019-04-16 10:11:19 +02:00
Eugene P
dacf63c1e9
Simplify lincomb addition as concatenation
2019-04-15 12:02:29 +03:00
Eugene P
2e8aaa6993
Change return type from (&_, &_) to &(_, _) for lincomb try_summand
2019-04-15 11:52:05 +03:00
Eugene P
7103cd51f9
Replace BTree with Vec in LinComb
2019-04-15 00:03:37 +03:00
schaeff
84c28c421b
bump versions
2019-04-11 23:33:52 +02:00
schaeff
ed252ad5f0
clean, change signature to take arrays and return array
2019-04-10 15:51:05 +02:00
schaeff
0aad524ab2
Merge branch 'develop' of github.com:JacobEberhardt/ZoKrates into bellman-sha256
2019-04-09 15:53:39 +02:00
schaeff
b2c2d013cc
make wasm and libsnark deps optional
2019-04-09 15:24:38 +02:00
schaeff
157651d864
Merge branch 'develop' of github.com:JacobEberhardt/ZoKrates into bellman-sha256
2019-04-09 14:50:32 +02:00
schaeff
d8284dac19
solve conflict
2019-04-09 14:33:04 +02:00
schaeff
fa3f72f6b7
merge develop
2019-04-08 22:37:18 +02:00
schaeff
1c4881e947
remove should_panic
2019-04-08 16:37:42 +02:00
schaeff
bd057ed68a
fix libsnark test
2019-04-08 16:31:09 +02:00
schaeff
82b8c6191f
fix g16 test
2019-04-08 16:25:58 +02:00
schaeff
0107ba1c8e
fix standard
2019-04-08 15:56:42 +02:00
schaeff
0be493fdd1
fix following review: extract witness with write read, rename scheme to proving scheme, typos
2019-04-08 14:56:07 +02:00
schaeff
5728ecdb25
clean
2019-04-03 12:52:35 +02:00
schaeff
848ec1d5e5
fix merge conflicts
2019-04-03 12:19:05 +02:00
schaeff
5b4da4c91c
remove xor, remove field dep, clean
2019-04-02 14:24:33 +02:00
schaeff
9ad0040dec
finish removing libsnark
2019-04-01 20:10:41 +02:00
schaeff
f8fa3efccf
implement sha256 on bellman, remove libsnark version
2019-04-01 19:59:43 +02:00
schaeff
88c755ff79
fix signature and visibility
2019-03-21 22:58:22 +01:00
schaeff
2980d8da02
implement unary operators, currently only '!'
2019-03-21 21:38:58 +01:00
schaeff
e999ba6a3f
add imports
2019-03-21 01:00:40 +01:00
schaeff
f1b0461f1c
use gh pest-ast
2019-03-21 00:09:48 +01:00
schaeff
19c8a5101c
remove print
2019-03-21 00:06:49 +01:00
schaeff
3f71b24172
add all translation cases, remove old parser
2019-03-21 00:02:18 +01:00
schaeff
aab1ab80e9
integrate with pest parser. WIP
2019-03-19 12:11:19 +01:00
schaeff
333adeb3ed
merge develop
2019-03-18 12:20:41 +01:00
schaeff
156fd917e0
fix conflict
2019-03-15 17:33:23 +01:00
schaeff
66209ccc26
fix conflict
2019-03-15 17:09:49 +01:00
schaeff
e3c64d004c
fix conflict
2019-03-15 16:54:42 +01:00
schaeff
ec1fdbb6e7
fix conflict
2019-03-15 16:41:27 +01:00
schaeff
3cbf59d3d1
fix conflict
2019-03-15 16:38:25 +01:00
schaeff
5654fc61a3
replace with no loop solution
2019-03-15 16:35:04 +01:00
schaeff
ff7f479bc0
replace with no loop solution
2019-03-15 16:34:51 +01:00
schaeff
eed27dd1ec
remove arguments_flattened where possible
2019-03-15 16:03:54 +01:00
schaeff
bbb709c166
stop exposing flattening functions
2019-03-15 15:38:24 +01:00
schaeff
afeeafbaee
use static method call to flattener to avoid reuse
2019-03-15 15:31:01 +01:00
schaeff
951bff8fc5
remove bits from flattener struct
2019-03-15 15:25:36 +01:00
schaeff
4a68e45733
simplify substitutions
2019-03-15 14:58:30 +01:00
schaeff
19c8b1c183
remove substitution too
2019-03-15 12:50:18 +01:00
schaeff
f2a89f9d41
remove variable map
2019-03-14 18:53:01 +01:00
schaeff
39db4fdfa7
fix breaking bellman deps by providing explicit version numbers
2019-03-06 12:48:51 +01:00
schaeff
e727c712cc
Merge branch 'develop' of github.com:JacobEberhardt/ZoKrates into bellman-backend-v2
2019-03-06 10:17:46 +01:00
schaeff
5fee2779a5
solidity uint256 cast
2019-03-06 10:17:39 +01:00
schaeff
922946bdb3
add preprocessing to cast hex values to uint256, always produce 64 bytes from setup
2019-03-05 19:51:23 +01:00
Thibaut Schaeffer
d118a935fb
Merge branch 'develop' into ir-optimiser
2019-03-04 16:53:45 +01:00
schaeff
4400e2b876
fix suggestions
2019-03-04 13:28:11 +01:00
sdeml
10a2b59f9d
add tests for split
2019-03-03 08:14:36 +01:00
schaeff
db9ce5ab9c
avoid cloning
2019-02-28 18:44:32 +01:00
schaeff
9e1416e97c
Merge branch 'develop' of github.com:JacobEberhardt/ZoKrates into ir-optimiser
2019-02-28 18:18:38 +01:00
schaeff
c77a4acddd
make generic over T
2019-02-28 17:32:11 +01:00
schaeff
550b078656
remove unpack, only split to the field size, move 128 pack and unpack to stdlib
2019-02-28 17:27:20 +01:00
schaeff
799f528481
make contracts solidity 0.5 compatible
2019-02-28 16:10:27 +01:00
schaeff
c5c9ed0662
update contracts to 0.5, add solcjs test on verifier in integration
2019-02-28 13:25:51 +01:00
schaeff
e07442d26b
add groth16 warning to docs
2019-02-27 21:38:06 +01:00
schaeff
31afcae565
fix vk serialization
2019-02-27 21:23:19 +01:00
schaeff
6b33260d73
clean
2019-02-21 19:49:29 +01:00
schaeff
ba51910b7a
fix cli and cli tests
2019-02-21 19:37:27 +01:00
schaeff
8429c1a565
fix tests
2019-02-21 18:45:12 +01:00
schaeff
d374d2843f
move r1cs_program to libsnark module, fix order of public inputs bug for verification, automate bellman variable assignement
2019-02-21 17:00:17 +01:00
schaeff
172e1be1d2
use csv for witness serialization, clean libsnark, rename backends to schemes
2019-02-21 10:28:23 +01:00
schaeff
ef53c57769
add verification contract for g16, reorganise backend utils, add warning
2019-02-19 14:58:19 +01:00
schaeff
f2d958c701
clean, return hex in JSON
2019-02-19 13:11:48 +01:00
schaeff
37e2efe01c
Merge branch 'develop' of github.com:JacobEberhardt/ZoKrates into ir-optimiser
2019-02-15 12:01:15 +01:00
schaeff
a856e138af
serialize proof to JSON. hacky.
2019-02-15 11:59:07 +01:00
schaeff
b0e8b9d042
integrate with backend api, activate with --backend g16
2019-02-15 11:41:35 +01:00
schaeff
9ad9e52de1
fix integration tests
2019-02-14 21:56:24 +01:00
schaeff
4cf22faef3
move metadata to struct, move r1cs_program inside backend, simplify API
2019-02-13 18:21:01 +01:00
JacobEberhardt
1d766ad52b
Merge pull request #255 from Zokrates/return-variables-in-ir
...
Return variables in ZIR functions
2019-02-12 13:46:26 +01:00
Thibaut Schaeffer
f2a7101500
Merge pull request #270 from Zokrates/master
...
Merge back master after patch
2019-02-11 18:23:58 +01:00
schaeff
f998a087ce
merge develop
2019-02-11 17:22:29 +01:00
schaeff
a04440495d
remove print
2019-02-11 16:33:14 +01:00
schaeff
8e64cc68b1
remove call to unimplemented cast
2019-02-11 16:20:47 +01:00
schaeff
6ecc2c9885
patch unconstrained cast
2019-02-11 16:15:43 +01:00
schaeff
678c046ad0
Merge branch 'develop' of github.com:JacobEberhardt/ZoKrates into ir-optimiser
2019-02-11 10:53:56 +01:00
schaeff
b00fc6365a
Merge branch 'develop' of github.com:JacobEberhardt/ZoKrates into return-variables-in-ir
2019-02-08 18:16:59 +01:00
schaeff
781b7c3a0d
Merge branch 'develop' of github.com:JacobEberhardt/ZoKrates into move-libsnark-fetch-to-build
2019-02-08 18:15:38 +01:00
Guillaume Ballet
6cb407837d
fix loop counter persistence bug in identity WASM
2019-02-08 16:04:56 +01:00
schaeff
31149cdff0
remove tempdir
2019-02-07 18:25:20 +01:00
schaeff
50ae73aeb2
remove tempdir
2019-02-07 17:46:30 +01:00
schaeff
826168240b
move libsnark fetch to build
2019-02-07 17:22:28 +01:00
schaeff
2134873031
fix from_flat to accept functions which return quadratic combs
2019-02-06 17:32:28 +01:00
schaeff
6597ec511f
fix wrong try_linear, fix comment
2019-02-06 17:16:04 +01:00
schaeff
87ddcdcc55
use variable as function output, avoid substituting outputs
2019-02-06 14:51:13 +01:00
schaeff
57192ea98a
change to always return variables
2019-02-06 12:25:41 +01:00
schaeff
8bf0d72725
bump versions
2019-02-06 11:24:03 +01:00
schaeff
803c4c8906
remove counter, fix test
2019-02-05 16:32:03 +01:00
schaeff
bd1f97af58
adjust test
2019-02-05 11:59:07 +01:00
schaeff
f68995a87a
avoid optimizing already substituted variables
2019-02-05 11:41:05 +01:00
schaeff
90024508c8
Merge branch 'master' of github.com:JacobEberhardt/ZoKrates into develop
2019-02-04 15:56:04 +01:00
schaeff
7f8d3f1d1c
remove warning
2019-02-04 12:53:11 +01:00
schaeff
2ff39e9733
add test
2019-02-04 12:44:07 +01:00
schaeff
82951efcf4
don't substitute output variables
2019-02-04 12:12:29 +01:00
schaeff
541cd44997
bump versions: fs_resolver and cli minor, core and field patch
2019-02-01 18:30:36 +01:00
schaeff
d065ca657d
Merge branch 'develop' of github.com:JacobEberhardt/ZoKrates into ir-optimiser
2019-02-01 17:57:01 +01:00
Thibaut Schaeffer
e7a943dbf9
Merge pull request #220 from Zokrates/update-G2-lib
...
Update G2 library
2019-02-01 17:43:19 +01:00
Thibaut Schaeffer
718158717f
Merge pull request #221 from Zokrates/add-sharound
...
Simplify SHA gadgets and add a stdlib
2019-02-01 17:42:40 +01:00
JacobEberhardt
033217b520
Merge pull request #224 from Zokrates/useful-semantic-errors
...
Output more, better errors in the CLI
2019-02-01 13:46:42 +01:00
Thibaut Schaeffer
02157bf312
Merge branch 'develop' into display-empty-lincomb
2019-02-01 13:13:52 +01:00
schaeff
c55fdf98b8
update docs, implement agreed change ie only print compact for in zir
2019-01-30 18:33:55 +01:00
schaeff
72a8f719a8
move optimiser to act on IR
2019-01-30 17:43:32 +01:00
schaeff
98fedeb807
Merge branch 'develop' of github.com:JacobEberhardt/ZoKrates into use-folder-pattern-for-optimizer
2019-01-29 17:19:54 +01:00
schaeff
60719998da
display empty lincomb
2019-01-29 14:03:14 +01:00
schaeff
a50b546714
merge develop
2019-01-29 10:39:48 +01:00
Thibaut Schaeffer
17682a94af
Merge branch 'develop' into add-sharound
2019-01-28 10:22:21 +01:00
schaeff
b731a7c296
solve conflict
2019-01-28 10:18:27 +01:00
schaeff
10fbe003c3
improve error handling in CLI
2019-01-25 15:35:50 +01:00
sdeml
00147b3917
Merge branch 'develop' into add-sharound
...
* develop: (53 commits)
move book snippets to files in test folder, link to them from md
handle case where path is a directory
update cargo.lock
update tests to use relative paths
resolve cargo.lock conflict
WASM crate import depends on the presence of the `wasm` feature
Insert missing fi at the end of if statement
change test to check flattening of 1-sized array is identical to flattening of single value
implement variable access to ifelse array
add support for ifelse array access, clean up semantic treatment
recommend setting /Users/obit/sides/zokrates/zokrates_stdlib/stdlib if it is not already
add /Users/obit/sides/zokrates/zokrates_stdlib/stdlib to Dockerfiles, add stdlib with dummy file
remove commented out old serialization
branch based on first path component
base decision on first character of path
fallback to /Users/obit/.zokrates when importing source files
Run the tests with WASM enabled
Fix build after rebase
Fix warning
Move wasm plugin generation to a different repo
...
# Conflicts:
# zokrates_book/src/sha256example.md
2019-01-23 17:43:14 +01:00
Stefan
6b916e779f
Merge pull request #225 from Zokrates/if-else-array
...
Add support for IfElse for arrays
2019-01-22 14:54:43 +01:00
Thibaut Schaeffer
3018c1ccbe
Merge branch 'develop' into optimize-subtraction
2019-01-21 14:25:59 +01:00
Guillaume Ballet
a025c59d84
WASM crate import depends on the presence of the wasm
feature
2019-01-21 10:23:49 +01:00
sdeml
a2a977b75c
free unused memory / fix memory leak
2019-01-18 21:05:40 +01:00
schaeff
283d18db85
fix libsnark magic path error
2019-01-18 20:32:05 +01:00
schaeff
ae7b5c0daa
change test to check flattening of 1-sized array is identical to flattening of single value
2019-01-18 19:59:17 +01:00
schaeff
87fccb3457
implement variable access to ifelse array
2019-01-18 19:35:10 +01:00
schaeff
b74e0b6dc6
add support for ifelse array access, clean up semantic treatment
2019-01-18 18:56:56 +01:00
schaeff
e20f104c40
Merge branch 'develop' of github.com:JacobEberhardt/ZoKrates into if-else-array
2019-01-18 17:48:23 +01:00
sdeml
91bf2c0ea8
fix further memory leaks
2019-01-18 17:37:36 +01:00
sdeml
710eab6eac
fix memory overflow
2019-01-18 14:52:54 +01:00
schaeff
e084165adc
add multiple errors, add node for all AST, fix tests ignoring positions
2019-01-18 11:49:16 +01:00
schaeff
d1295adc49
pass positions to absy, allow one error per function
2019-01-16 22:59:37 +01:00
sdeml
2ce56e1e36
more fmt fixes
2019-01-15 15:08:52 +01:00
sdeml
809e2f4018
fix fmt
2019-01-15 11:53:06 +01:00
sdeml
c0db24bb79
cleaning and adding docs
2019-01-15 11:47:51 +01:00
sdeml
a23b5fcda1
merge develop
2019-01-15 10:41:19 +01:00
schaeff
00dbb650c9
update G2 lib to aa02c35d2883a1a01844c543e552e915cfbaed9a
2019-01-14 23:55:52 +01:00
Guillaume Ballet
2973df573a
Run the tests with WASM enabled
2019-01-14 18:17:40 +01:00
Guillaume Ballet
e1d2df3e20
Fix build after rebase
2019-01-14 17:04:23 +01:00
Guillaume Ballet
1bc3947e5e
Move wasm plugin generation to a different repo
2019-01-14 14:49:47 +01:00
Guillaume Ballet
de1a9d6292
Fix fmt
2019-01-14 14:49:47 +01:00
Guillaume Ballet
47dc8d0a16
Fix endianness in BITS
2019-01-14 14:49:47 +01:00
Guillaume Ballet
666d6760f7
Fix field test
2019-01-14 14:49:47 +01:00
Guillaume Ballet
df96ab59b7
Fix build warnings
2019-01-14 14:49:47 +01:00
Guillaume Ballet
ce7b7c1419
rebase and fix linter issue
2019-01-14 14:48:33 +01:00
Guillaume Ballet
2127ff2e34
Support the generation of multiple wasm plugins
2019-01-14 14:48:33 +01:00
Guillaume Ballet
311ee6275f
Remove warning and fix naming error
2019-01-14 14:48:33 +01:00
Guillaume Ballet
a577f470ed
fix linter issues
2019-01-14 14:48:33 +01:00
Guillaume Ballet
865c7786e5
fix rebase issue
2019-01-14 14:48:33 +01:00
Guillaume Ballet
cc21fd21be
Add a repo to support the WASM version of partial_eq
2019-01-14 14:48:33 +01:00
Guillaume Ballet
0ce5406fc8
Remove dependency on std::fs::File
2019-01-14 14:48:33 +01:00
Guillaume Ballet
2113e1f588
Remove dependency on std::fs::File
2019-01-14 14:48:33 +01:00
Guillaume Ballet
ebdfd96bda
Replace last hex dump with the wasm builder
2019-01-14 14:48:33 +01:00
Guillaume Ballet
4931710b6c
fix unwinding issue in tests
2019-01-14 14:48:33 +01:00
Guillaume Ballet
a5a94bea89
Upgrade to wasmi 0.4.2
2019-01-14 14:46:21 +01:00
Guillaume Ballet
62ccc311d0
fix build
2019-01-14 14:43:55 +01:00
Guillaume Ballet
8df23cf1c0
rustfmt fix
2019-01-14 14:43:55 +01:00
Guillaume Ballet
a6ba865c40
fix unit tests and use the builder instead of hex strings
2019-01-14 14:43:55 +01:00
Guillaume Ballet
1320c28dad
Move module to struct in order not to recreate it every time
...
This is an intermediate step, the module might be moved to the
interpreter and tests are broken.
2019-01-14 14:39:36 +01:00
Guillaume Ballet
163f2b42f4
Implement support for WASM helpers
2019-01-14 14:39:36 +01:00
schaeff
8e1821dca8
merge, solve conflicts, make tests pass
2019-01-14 00:03:28 +01:00
sdeml
f5911babfb
delete unused variables
2019-01-13 18:02:05 +01:00
sdeml
622b0c628e
merge with develop
2019-01-13 17:30:17 +01:00
sdeml
e84e0efd97
fix tests
2019-01-13 17:25:40 +01:00
sdeml
1d3f4268e7
fix tests
2019-01-13 17:24:30 +01:00
sdeml
a1a2de56f3
delete old sha variants
2019-01-13 17:24:21 +01:00
sdeml
b0e48e03a5
delete debug statements
2019-01-13 17:23:01 +01:00
sdeml
17db522108
add tripple round
2019-01-13 17:19:10 +01:00
sdeml
f33ad7a673
add sharound
2019-01-13 14:32:27 +01:00
schaeff
29403cfb50
bump patch
2019-01-06 22:41:43 +01:00
schaeff
bc107db32d
change array to range
2019-01-06 22:15:31 +01:00
schaeff
91f290933f
fix test
2019-01-06 21:43:02 +01:00
schaeff
9718a96c75
add input binding checks, make R1CS format more explicit
2019-01-06 21:08:16 +01:00
schaeff
9de72fe21e
add tests, fix order of outputs in test runner
2019-01-04 15:31:16 +01:00
Thibaut Schaeffer
44caf701b0
Merge pull request #210 from Zokrates/add-core-e2e-tests
...
[Preview] Add core e2e tests
2019-01-04 14:36:14 +01:00
schaeff
38be2a4890
Merge branch 'develop' of github.com:JacobEberhardt/ZoKrates into if-else-array
2019-01-04 14:36:14 +01:00
schaeff
1e03eabacd
add ifelse for arrays
2019-01-04 13:55:45 +01:00
schaeff
8595434d19
resolve conflicts
2019-01-02 14:50:18 +01:00
schaeff
3cfbd78529
simplify, use strings for constraint errors, compare errors
2019-01-02 13:19:08 +01:00
schaeff
c570e3a06e
use absolute paths in macro definition to make it self contained
2019-01-01 23:10:58 +01:00
schaeff
760a7c5322
upgrade image in dockerfile, add serialization for keys and proofs. wip
2019-01-01 23:04:02 +01:00
schaeff
3169d6da0c
make computaion test pass
2018-12-31 09:32:54 +01:00
schaeff
1f71554584
hide witness operations away from cli
2018-12-31 08:10:33 +01:00
schaeff
baec52e239
use macro to generate tests
2018-12-30 21:27:37 +01:00
Guillaume Ballet
5a9f5c8060
Make field its own crate
2018-12-27 11:02:48 +01:00
schaeff
d7d53eca2b
improve interpreter api, add e2e tests to zokrates_core
2018-12-21 17:27:44 +01:00
schaeff
82a18e99f5
Merge branch 'develop' of github.com:JacobEberhardt/ZoKrates into greater_than
2018-12-17 18:19:14 +01:00
schaeff
302d75a501
remove subtraction
2018-12-17 18:19:05 +01:00
schaeff
cfd3b2c3f5
remove intermediate definition in lt check
2018-12-17 17:53:35 +01:00
schaeff
bb10c1f3fa
Merge branch 'develop' of github.com:JacobEberhardt/ZoKrates into optimize-subtraction
2018-12-17 15:52:56 +01:00
schaeff
72ec55827e
generate proof with bellman
2018-12-11 14:29:05 +01:00
schaeff
49569e808c
wip
2018-12-09 18:37:01 +01:00
schaeff
9160aa4164
fix conflicts
2018-12-07 18:01:17 +01:00
schaeff
57fc5453dd
Merge branch 'master' of github.com:JacobEberhardt/ZoKrates into gm17
2018-12-07 17:54:08 +01:00
schaeff
ba478baa81
Merge branch 'develop' of github.com:JacobEberhardt/ZoKrates into optimize-subtraction
2018-12-07 16:57:34 +01:00
schaeff
c20fd5cd6c
rename cryptic variables
2018-12-04 23:25:14 +00:00
schaeff
6613ae46b8
fix format test
2018-12-04 23:14:17 +00:00
schaeff
4ccb0c1ba4
remove print
2018-12-05 00:10:19 +01:00