1
0
Fork 0
mirror of synced 2025-09-24 04:40:05 +00:00
Commit graph

62 commits

Author SHA1 Message Date
schaeff
c802077b74 add macro to restrict compilation to a given curve 2020-04-22 19:53:10 +02:00
dark64
efecfedc8b add zokrates_common crate, update resolver trait definition 2020-03-04 20:31:44 +01:00
schaeff
14cd634ef5 address comments 2020-01-30 13:02:00 +01:00
dark64
201d9b887e make imports public in core, remove ci steps for zokrates_js 2020-01-06 20:55:54 +01:00
schaeff
85514eefab merge dev 2019-12-09 17:32:00 +01:00
schaeff
840c268a6a remove wasm helpers, simplify, rename helper to solver 2019-11-25 19:02:15 +01:00
Thibaut Schaeffer
86ba4b708c
add firefox testing. wip (#517)
* add firefox testing. wip

* fix config

* use crates bellman

* install  curl

* move wasm install test install script to sh

* make sh executable

* remove firefox as its suppose to be there already

* confirm install..

* seems like firefox isnt there after all

* firefox-esr

* use fixed bellman

* revert backend api change, only touch env outside wasm

* fix typo in cfg flag
2019-11-22 13:02:02 +01:00
schaeff
1e14266123 fix warning, remove commented out libc, remove libsnark default 2019-11-14 14:20:26 +03:00
dark64
e7c1a0e6d7 wip 2019-10-30 00:08:39 +01:00
schaeff
400a2205f3 merge dev, fix flags 2019-10-25 13:13:14 +02:00
Thibaut
e15d524e7b Merge branch 'structs' of github.com:Zokrates/ZoKrates into wasm-friendly 2019-10-06 13:00:56 +09:00
Thibaut
210a8b9f3a remove web incompatible crates, change wasm flag to wasm_solvers, introduce wasm flag 2019-10-03 16:42:15 +02:00
Thibaut
be14810af9 merge structs 2019-09-30 14:23:33 +02:00
Thibaut
997d2c3862 extract abi to crate, accept raw and abi, add cli flags 2019-09-27 19:23:16 +02:00
schaeff
a0c2663471 merge dev 2019-09-23 11:33:19 +02:00
schaeff
0c7bee35ce implement encoding and decoding for abi, integrate with cli 2019-09-18 15:11:10 +02:00
schaeff
cd44326941 add abi module with json parsing, reducing and type checking 2019-09-17 18:12:15 +02:00
schaeff
691b3c1d90 Merge branch 'develop' of github.com:Zokrates/ZoKrates into simplify-resolver 2019-09-13 14:05:01 +02:00
schaeff
b139c9aa93 merge rec-arrays, introduce annotate method for structs 2019-08-27 16:03:28 +02:00
schaeff
5a2860c4d2 merge dev 2019-08-26 14:18:45 +02:00
schaeff
a3f9eafb73 merge dev 2019-08-19 13:45:49 +02:00
schaeff
bb0973de1e add error handling, wrap types in nodes for sourcemaps, move type to absy and typed_absy 2019-08-06 00:12:47 +02:00
schaeff
e0eaa6b35b make imports public 2019-07-25 18:39:35 +02:00
schaeff
34f41dc53f merge modules 2019-07-15 16:31:52 +02:00
schaeff
c312d3423d use crate 2019-07-15 11:46:03 +02:00
schaeff
84b35cef20 deduplicate code using Flatten trait 2019-07-10 23:23:35 +02:00
schaeff
97b4b5bb13 introduce FlatEmbed, remove flat_resolver, make sure calls to FlatEmbed are resolved in flattening, make flattening inlining stricter 2019-07-03 00:19:06 +02:00
schaeff
9144bc2574 enable imports with arena 2019-06-11 18:55:07 +02:00
schaeff
cdf394c7e1 solve conflicts except compile loop 2019-06-11 11:12:37 +02:00
schaeff
c4dec182d0 implement array flattening, remove bimap 2019-06-06 14:12:56 +02:00
schaeff
20e12c10ea merge dev 2019-05-30 10:02:32 +02:00
schaeff
20790b72ff switch to regex for parsing 2019-05-09 17:45:41 +02:00
schaeff
f8fa3efccf implement sha256 on bellman, remove libsnark version 2019-04-01 19:59:43 +02:00
schaeff
aab1ab80e9 integrate with pest parser. WIP 2019-03-19 12:11:19 +01:00
schaeff
b0e8b9d042 integrate with backend api, activate with --backend g16 2019-02-15 11:41:35 +01:00
schaeff
4cf22faef3 move metadata to struct, move r1cs_program inside backend, simplify API 2019-02-13 18:21:01 +01:00
schaeff
f998a087ce merge develop 2019-02-11 17:22:29 +01:00
Guillaume Ballet
a025c59d84 WASM crate import depends on the presence of the wasm feature 2019-01-21 10:23:49 +01:00
Guillaume Ballet
2113e1f588 Remove dependency on std::fs::File 2019-01-14 14:48:33 +01:00
Guillaume Ballet
8df23cf1c0 rustfmt fix 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
760a7c5322 upgrade image in dockerfile, add serialization for keys and proofs. wip 2019-01-01 23:04:02 +01:00
Guillaume Ballet
5a9f5c8060 Make field its own crate 2018-12-27 11:02:48 +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
813a2632a8 implement linear combination based IR, use it for setup phase 2018-11-29 00:03:39 +01:00
schaeff
aef2925b15 format 2018-11-22 23:03:09 +01:00
schaeff
1c4098ceca upgrade rustfmt to 1.0, format 2018-11-22 22:46:32 +01:00
schaeff
e02d4fffeb implement gm17, verification contract not working for now 2018-11-13 15:31:37 +01:00