updates
This commit is contained in:
parent
91c695cb0e
commit
5300d4f39d
|
@ -67,7 +67,7 @@ when isMainModule:
|
|||
r1cs = env.dir / fmt"{env.name}.r1cs"
|
||||
wasm = env.dir / fmt"{env.name}.wasm"
|
||||
zkey = env.dir / fmt"{env.name}.zkey"
|
||||
inputs = env.dir / fmt"inputs.json"
|
||||
inputs = env.dir / fmt"input.json"
|
||||
|
||||
var
|
||||
inputData = inputs.readFile()
|
||||
|
|
|
@ -129,9 +129,9 @@ proc createCircuit*(
|
|||
for f, v in fieldPairs(args):
|
||||
cliCmd &= " --" & f & "=" & $v
|
||||
|
||||
if not "inputs.json".fileExists:
|
||||
if not "input.json".fileExists:
|
||||
echo "Generating Circom Files..."
|
||||
cliCmd &= fmt" -v --circom={name}.circom --output=inputs.json"
|
||||
cliCmd &= fmt" -v --circom={name}.circom --output=input.json"
|
||||
echo "CWD: ", getCurrentDir()
|
||||
echo "CLI_CMD: ", cliCmd
|
||||
|
||||
|
|
Loading…
Reference in New Issue