Merge branch 'master' of github.com:iden3/websnark

This commit is contained in:
Jordi Baylina 2019-06-25 15:52:53 +02:00
commit a23f042c36
No known key found for this signature in database
GPG Key ID: 7480C80C1BE43112
3 changed files with 6 additions and 6 deletions

View File

@ -5113,7 +5113,7 @@ async function build() {
groth16.n32 = groth16.n64*2;
groth16.n8 = groth16.n64*8;
groth16.memory = new WebAssembly.Memory({initial:10000});
groth16.memory = new WebAssembly.Memory({initial:5000});
groth16.i32 = new Uint32Array(groth16.memory.buffer);
const wasmModule = await WebAssembly.compile(groth16_wasm.code);
@ -5181,7 +5181,7 @@ async function build() {
const copyCode = groth16_wasm.code.buffer.slice(0);
initPromises.push(groth16.postAction(i, {
command: "INIT",
init: 10000,
init: 5000,
code: copyCode
}, [copyCode]));

View File

@ -5113,7 +5113,7 @@ async function build() {
groth16.n32 = groth16.n64*2;
groth16.n8 = groth16.n64*8;
groth16.memory = new WebAssembly.Memory({initial:10000});
groth16.memory = new WebAssembly.Memory({initial:5000});
groth16.i32 = new Uint32Array(groth16.memory.buffer);
const wasmModule = await WebAssembly.compile(groth16_wasm.code);
@ -5181,7 +5181,7 @@ async function build() {
const copyCode = groth16_wasm.code.buffer.slice(0);
initPromises.push(groth16.postAction(i, {
command: "INIT",
init: 10000,
init: 5000,
code: copyCode
}, [copyCode]));

View File

@ -179,7 +179,7 @@ async function build() {
groth16.n32 = groth16.n64*2;
groth16.n8 = groth16.n64*8;
groth16.memory = new WebAssembly.Memory({initial:10000});
groth16.memory = new WebAssembly.Memory({initial:5000});
groth16.i32 = new Uint32Array(groth16.memory.buffer);
const wasmModule = await WebAssembly.compile(groth16_wasm.code);
@ -247,7 +247,7 @@ async function build() {
const copyCode = groth16_wasm.code.buffer.slice(0);
initPromises.push(groth16.postAction(i, {
command: "INIT",
init: 10000,
init: 5000,
code: copyCode
}, [copyCode]));