Browse Source

deps and sanitycheck in tester

feature/c-tester-linux
Jordi Baylina 4 years ago
parent
commit
825f31b420
No known key found for this signature in database GPG Key ID: 7480C80C1BE43112
3 changed files with 6 additions and 7 deletions
  1. +3
    -3
      package-lock.json
  2. +1
    -1
      package.json
  3. +2
    -3
      ports/wasm/tester.js

+ 3
- 3
package-lock.json

@ -221,9 +221,9 @@
"integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=" "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII="
}, },
"circom_runtime": { "circom_runtime": {
"version": "0.0.2",
"resolved": "https://registry.npmjs.org/circom_runtime/-/circom_runtime-0.0.2.tgz",
"integrity": "sha512-aJcQucUxrZ31O7JbY14l1oiP6ZlNAtPW+i8/CY4b9GAjgWPjts+D9pxtz/x2yC2Ei+ieaJY7LFjfCKFTOoHGDQ==",
"version": "0.0.3",
"resolved": "https://registry.npmjs.org/circom_runtime/-/circom_runtime-0.0.3.tgz",
"integrity": "sha512-z4ypbs9cTQn7+2FHZNTnccMj6kQCcKT2agYqCrm2kdLBJh9LDoxU1JVu5mSnVuOtgc7BclQ7r0xclG0zP2rxhw==",
"requires": { "requires": {
"big-integer": "^1.6.48", "big-integer": "^1.6.48",
"fnv-plus": "^1.3.1" "fnv-plus": "^1.3.1"

+ 1
- 1
package.json

@ -31,7 +31,7 @@
"dependencies": { "dependencies": {
"big-integer": "^1.6.32", "big-integer": "^1.6.32",
"chai": "^4.2.0", "chai": "^4.2.0",
"circom_runtime": "0.0.2",
"circom_runtime": "0.0.3",
"ffiasm": "0.0.2", "ffiasm": "0.0.2",
"ffjavascript": "0.0.3", "ffjavascript": "0.0.3",
"ffwasm": "0.0.5", "ffwasm": "0.0.5",

+ 2
- 3
ports/wasm/tester.js

@ -55,9 +55,8 @@ class WasmTester {
await this.dir.cleanup(); await this.dir.cleanup();
} }
async calculateWitness(input) {
return await this.witnessCalculator.calculateWitness(input);
async calculateWitness(input, sanityCheck) {
return await this.witnessCalculator.calculateWitness(input, sanityCheck);
} }
async loadSymbols() { async loadSymbols() {

Loading…
Cancel
Save