fix dep path
This commit is contained in:
parent
9b418568f6
commit
c9b3808282
@ -10,7 +10,7 @@ var Blake2b = _interopDefault(require('blake2b-wasm'));
|
|||||||
var readline = _interopDefault(require('readline'));
|
var readline = _interopDefault(require('readline'));
|
||||||
var crypto = _interopDefault(require('crypto'));
|
var crypto = _interopDefault(require('crypto'));
|
||||||
var circomRuntime = _interopDefault(require('circom_runtime'));
|
var circomRuntime = _interopDefault(require('circom_runtime'));
|
||||||
var path$1 = _interopDefault(require('path'));
|
var path = _interopDefault(require('path'));
|
||||||
var Logger = _interopDefault(require('logplease'));
|
var Logger = _interopDefault(require('logplease'));
|
||||||
|
|
||||||
async function open(fileName, openFlags, cacheSize) {
|
async function open(fileName, openFlags, cacheSize) {
|
||||||
@ -5082,9 +5082,6 @@ async function zkeyExportVerificationKey(zkeyName, logger) {
|
|||||||
return vKey;
|
return vKey;
|
||||||
}
|
}
|
||||||
|
|
||||||
const moduleURL = new URL((typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('cli.cjs', document.baseURI).href)));
|
|
||||||
|
|
||||||
const __dirname$1 = path.dirname(moduleURL.pathname);
|
|
||||||
// Not ready yet
|
// Not ready yet
|
||||||
// module.exports.generateVerifier_kimleeoh = generateVerifier_kimleeoh;
|
// module.exports.generateVerifier_kimleeoh = generateVerifier_kimleeoh;
|
||||||
|
|
||||||
@ -6121,7 +6118,7 @@ async function zkeyExportSolidityVerifier(params, options) {
|
|||||||
|
|
||||||
if (options.verbose) Logger.setLogLevel("DEBUG");
|
if (options.verbose) Logger.setLogLevel("DEBUG");
|
||||||
|
|
||||||
const templateName = path$1.join( __dirname, "templates", "verifier_groth16.sol");
|
const templateName = path.join( __dirname, "templates", "verifier_groth16.sol");
|
||||||
|
|
||||||
const verifierCode = await exportSolidityVerifier(zkeyName, templateName);
|
const verifierCode = await exportSolidityVerifier(zkeyName, templateName);
|
||||||
|
|
||||||
|
@ -14911,9 +14911,6 @@ async function zkeyExportVerificationKey(zkeyName, logger) {
|
|||||||
return vKey;
|
return vKey;
|
||||||
}
|
}
|
||||||
|
|
||||||
const moduleURL = new URL((typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('main.js', document.baseURI).href)));
|
|
||||||
|
|
||||||
const __dirname$1 = path.dirname(moduleURL.pathname);
|
|
||||||
// Not ready yet
|
// Not ready yet
|
||||||
// module.exports.generateVerifier_kimleeoh = generateVerifier_kimleeoh;
|
// module.exports.generateVerifier_kimleeoh = generateVerifier_kimleeoh;
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
@ -1,7 +1,3 @@
|
|||||||
const moduleURL = new URL(import.meta.url);
|
|
||||||
|
|
||||||
const __dirname = path.dirname(moduleURL.pathname);
|
|
||||||
|
|
||||||
import * as fastFile from "fastfile";
|
import * as fastFile from "fastfile";
|
||||||
|
|
||||||
import exportVerificationKey from "./zkey_export_verificationkey.js";
|
import exportVerificationKey from "./zkey_export_verificationkey.js";
|
||||||
|
Loading…
Reference in New Issue
Block a user