1
0
Fork 0
mirror of synced 2025-09-23 20:28:36 +00:00

update changelog, update book

This commit is contained in:
dark64 2022-08-16 15:55:14 +02:00
parent d2a6c47809
commit e611241ed3
2 changed files with 3 additions and 2 deletions

View file

@ -1 +1 @@
Add `backend` option in `zokrates-js`, bring back bellman, add a console writer to support printing logs to console
Add `backend` option in `zokrates-js`, bring back bellman, add a log writer to support printing logs in js

View file

@ -128,12 +128,13 @@ const fileSystemResolver = (from, to) => {
};
```
##### computeWitness(artifacts, args)
##### computeWitness(artifacts, args[, options])
Computes a valid assignment of the variables, which include the results of the computation.
Parameters:
* `artifacts` - Compilation artifacts
* `args` - Array of arguments (eg. `["1", "2", true]`)
* `options` - Computation options
Returns: `ComputationResult`