Skip to content

Commit c0f061e

Browse files
committed
Use updated circom pipeline
1 parent e12dc77 commit c0f061e

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

index.js

+5-6
Original file line numberDiff line numberDiff line change
@@ -131,14 +131,12 @@ function viemChain(nameOrId) {
131131
async function determineCompilerUrl(options) {
132132
if(process.env.LOCAL_COMPILER) {
133133
return {
134-
curCompilerURL: 'http://localhost:9001/2015-03-31/functions/function/invocations',
134+
curCompilerURL: process.env.LOCAL_COMPILER,
135135
};
136136
}
137-
let curCompilerURL = options.config.lambdaCompilerURL;
138-
if(options.instance) {
139-
curCompilerURL = options.config.ec2CompilerURL;
140-
}
141-
return {curCompilerURL};
137+
return {
138+
curCompilerURL: options.config.ec2CompilerURL,
139+
};
142140
}
143141

144142
async function resumeCompileFile(options) {
@@ -198,6 +196,7 @@ async function compileFile(file, options, {curCompilerURL}) {
198196
requestId,
199197
instanceType,
200198
action: 'build',
199+
pipeline: 'circom',
201200
files,
202201
finalZkey: prepareProvingKey(options.provingKey),
203202
snarkjsVersion: options.snarkjsVersion,

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "circuitscan",
3-
"version": "0.0.24-alpha",
3+
"version": "0.0.25-alpha",
44
"main": "index.js",
55
"type": "module",
66
"author": "numtel <[email protected]>",

0 commit comments

Comments
 (0)