mirror of
https://github.com/tornadocash/websnark.git
synced 2025-01-16 07:59:06 +01:00
Update dependencies to use tornado-snarkjs
This commit is contained in:
parent
2041cfa5fa
commit
fe9f4119c4
@ -6544,12 +6544,12 @@ module.exports = build;
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
const bigInt = require("big-integer");
|
const bigInt = require("big-integer");
|
||||||
const Circuit = require("snarkjs/src/circuit");
|
const Circuit = require("tornado-snarkjs/src/circuit");
|
||||||
const bigInt2 = require("snarkjs/src/bigint");
|
const bigInt2 = require("tornado-snarkjs/src/bigint");
|
||||||
const hexifyBigInts = require("../tools/stringifybigint").hexifyBigInts;
|
const hexifyBigInts = require("../tools/stringifybigint").hexifyBigInts;
|
||||||
const unstringifyBigInts = require("../tools/stringifybigint").unstringifyBigInts;
|
const unstringifyBigInts = require("../tools/stringifybigint").unstringifyBigInts;
|
||||||
const stringifyBigInts2 = require("snarkjs/src/stringifybigint").stringifyBigInts;
|
const stringifyBigInts2 = require("tornado-snarkjs/src/stringifybigint").stringifyBigInts;
|
||||||
const unstringifyBigInts2 = require("snarkjs/src/stringifybigint").unstringifyBigInts;
|
const unstringifyBigInts2 = require("tornado-snarkjs/src/stringifybigint").unstringifyBigInts;
|
||||||
|
|
||||||
function bigInt2BytesLE(_a, len) {
|
function bigInt2BytesLE(_a, len) {
|
||||||
const b = Array(len);
|
const b = Array(len);
|
||||||
|
@ -6544,12 +6544,12 @@ module.exports = build;
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
const bigInt = require("big-integer");
|
const bigInt = require("big-integer");
|
||||||
const Circuit = require("snarkjs/src/circuit");
|
const Circuit = require("tornado-snarkjs/src/circuit");
|
||||||
const bigInt2 = require("snarkjs/src/bigint");
|
const bigInt2 = require("tornado-snarkjs/src/bigint");
|
||||||
const hexifyBigInts = require("../tools/stringifybigint").hexifyBigInts;
|
const hexifyBigInts = require("../tools/stringifybigint").hexifyBigInts;
|
||||||
const unstringifyBigInts = require("../tools/stringifybigint").unstringifyBigInts;
|
const unstringifyBigInts = require("../tools/stringifybigint").unstringifyBigInts;
|
||||||
const stringifyBigInts2 = require("snarkjs/src/stringifybigint").stringifyBigInts;
|
const stringifyBigInts2 = require("tornado-snarkjs/src/stringifybigint").stringifyBigInts;
|
||||||
const unstringifyBigInts2 = require("snarkjs/src/stringifybigint").unstringifyBigInts;
|
const unstringifyBigInts2 = require("tornado-snarkjs/src/stringifybigint").unstringifyBigInts;
|
||||||
|
|
||||||
function bigInt2BytesLE(_a, len) {
|
function bigInt2BytesLE(_a, len) {
|
||||||
const b = Array(len);
|
const b = Array(len);
|
||||||
|
1863
package-lock.json
generated
1863
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -31,7 +31,7 @@
|
|||||||
"eslint-plugin-webassembly": "^1.8.4",
|
"eslint-plugin-webassembly": "^1.8.4",
|
||||||
"mocha": "^6.1.4",
|
"mocha": "^6.1.4",
|
||||||
"package": "^1.0.1",
|
"package": "^1.0.1",
|
||||||
"snarkjs": "git+https://github.com/peppersec/snarkjs.git#869181cfaf7526fe8972073d31655493a04326d5",
|
"tornado-snarkjs": "git+https://github.com/peppersec/snarkjs.git#869181cfaf7526fe8972073d31655493a04326d5",
|
||||||
"wasmbuilder": "0.0.3"
|
"wasmbuilder": "0.0.3"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -18,14 +18,14 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
const bigInt = require("big-integer");
|
const bigInt = require("big-integer");
|
||||||
const Circuit = require("snarkjs/src/circuit");
|
const Circuit = require("tornado-snarkjs/src/circuit");
|
||||||
const bigInt2 = require("snarkjs/src/bigint");
|
const bigInt2 = require("tornado-snarkjs/src/bigint");
|
||||||
const hexifyBigInts = require("../tools/stringifybigint").hexifyBigInts;
|
const hexifyBigInts = require("../tools/stringifybigint").hexifyBigInts;
|
||||||
const unhexifyBigInts = require("../tools/stringifybigint").unhexifyBigInts;
|
const unhexifyBigInts = require("../tools/stringifybigint").unhexifyBigInts;
|
||||||
const stringifyBigInts = require("../tools/stringifybigint").stringifyBigInts;
|
const stringifyBigInts = require("../tools/stringifybigint").stringifyBigInts;
|
||||||
const unstringifyBigInts = require("../tools/stringifybigint").unstringifyBigInts;
|
const unstringifyBigInts = require("../tools/stringifybigint").unstringifyBigInts;
|
||||||
const stringifyBigInts2 = require("snarkjs/src/stringifybigint").stringifyBigInts;
|
const stringifyBigInts2 = require("tornado-snarkjs/src/stringifybigint").stringifyBigInts;
|
||||||
const unstringifyBigInts2 = require("snarkjs/src/stringifybigint").unstringifyBigInts;
|
const unstringifyBigInts2 = require("tornado-snarkjs/src/stringifybigint").unstringifyBigInts;
|
||||||
|
|
||||||
function bigInt2BytesLE(_a, len) {
|
function bigInt2BytesLE(_a, len) {
|
||||||
const b = Array(len);
|
const b = Array(len);
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
const assert = require("assert");
|
const assert = require("assert");
|
||||||
const refBn128 = require("snarkjs").bn128;
|
const refBn128 = require("tornado-snarkjs").bn128;
|
||||||
const refBigInt = require("snarkjs").bigInt;
|
const refBigInt = require("tornado-snarkjs").bigInt;
|
||||||
|
|
||||||
const buildBn128 = require("../index.js").buildBn128;
|
const buildBn128 = require("../index.js").buildBn128;
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
const assert = require("assert");
|
const assert = require("assert");
|
||||||
const refBn128 = require("snarkjs").bn128;
|
const refBn128 = require("tornado-snarkjs").bn128;
|
||||||
const refBigInt = require("snarkjs").bigInt;
|
const refBigInt = require("tornado-snarkjs").bigInt;
|
||||||
|
|
||||||
const buildBn128 = require("../index.js").buildBn128;
|
const buildBn128 = require("../index.js").buildBn128;
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
const assert = require("assert");
|
const assert = require("assert");
|
||||||
const fs = require("fs");
|
const fs = require("fs");
|
||||||
const path = require("path");
|
const path = require("path");
|
||||||
const snarkjs = require("snarkjs");
|
const snarkjs = require("tornado-snarkjs");
|
||||||
|
|
||||||
const buildGroth16 = require("../index.js").buildGroth16;
|
const buildGroth16 = require("../index.js").buildGroth16;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user