fix fftExp totalBits

This commit is contained in:
Jordi Baylina 2020-09-13 10:42:48 +02:00
parent 4f504c8ebc
commit f79b8cf1f9
No known key found for this signature in database
GPG Key ID: 7480C80C1BE43112
5 changed files with 34 additions and 21 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

14
package-lock.json generated

@ -672,19 +672,19 @@
"integrity": "sha512-LwvI75nCVs83EsuKpT+cL7M7T3VNdY4O50nLi4jnVZcxvqbWWqX43dM2GDrNHeD5uaX+ug0Di5RcvnTTI+hEAQ=="
},
"ffjavascript": {
"version": "0.2.19",
"resolved": "https://registry.npmjs.org/ffjavascript/-/ffjavascript-0.2.19.tgz",
"integrity": "sha512-gt49G6XJTN3CXw4H8aSUdaR827xfbyxvUgf5RtQ4Zd0Ush79QGRYAuSf1MRpxbpU/CMrIwZWGxiXJWu8BHaiRg==",
"version": "0.2.21",
"resolved": "https://registry.npmjs.org/ffjavascript/-/ffjavascript-0.2.21.tgz",
"integrity": "sha512-7HyYo3j7lohPolvMMaRihMQUR5MLBFsqFv1Gy3182mPQqYd0TEq8wdd6sWV7Y+mv25yjU9MDJgOR2T2nkCRd9g==",
"requires": {
"big-integer": "^1.6.48",
"wasmcurves": "0.0.10",
"wasmcurves": "0.0.11",
"worker-threads": "^1.0.0"
},
"dependencies": {
"wasmcurves": {
"version": "0.0.10",
"resolved": "https://registry.npmjs.org/wasmcurves/-/wasmcurves-0.0.10.tgz",
"integrity": "sha512-bCIZni6RzeQrgt3Hri+KiblRJJq9s7a2F0bGIpa9Eaj+V9jDxscMH6wDWbIYMTuVMW4dqO8eL8gUI/nm/p2SeA==",
"version": "0.0.11",
"resolved": "https://registry.npmjs.org/wasmcurves/-/wasmcurves-0.0.11.tgz",
"integrity": "sha512-iRuX0slhizCSYGScgQH0P7j2GS5qgfnpYVPtKoj+wrlLGPZQZiviGj8AwJdeg7fI68yVw4Wquvyp0ZCPfcb0wQ==",
"requires": {
"big-integer": "^1.6.42",
"blakejs": "^1.1.0"

@ -41,7 +41,7 @@
"blake2b-wasm": "https://github.com/jbaylina/blake2b-wasm.git",
"circom_runtime": "0.1.5",
"fastfile": "0.0.15",
"ffjavascript": "0.2.19",
"ffjavascript": "0.2.21",
"logplease": "^1.2.15",
"r1csfile": "0.0.12"
},

@ -4,7 +4,7 @@ import assert from "assert";
import path from "path";
describe("Full process", function () {
this.timeout(1000000);
this.timeout(1000000000);
let curve;
const ptau_0 = {type: "mem"};
@ -27,7 +27,7 @@ describe("Full process", function () {
before( async () => {
curve = await getCurveFromName("bn128");
// curve.Fr.s = 10;
curve.Fr.s = 10;
});
after( async () => {
await curve.terminate();