mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-07 16:03:13 +00:00
sets BN254 field and poseidon2 hash function.
This commit is contained in:
parent
7065718e09
commit
d19cb8a37d
@ -104,7 +104,7 @@ proc generateCircomAndSamples*(args: CircuitArgs, env: CircuitEnv, name: string)
|
|||||||
|
|
||||||
if not "input.json".fileExists:
|
if not "input.json".fileExists:
|
||||||
echo "Generating Circom Files..."
|
echo "Generating Circom Files..."
|
||||||
runit fmt"{cliCmd} -v --circom={name}.circom --output=input.json"
|
runit fmt"{cliCmd} -v --field=bn254 --hash=poseidon2 --circom={name}.circom --output=input.json"
|
||||||
|
|
||||||
proc createCircuit*(
|
proc createCircuit*(
|
||||||
args: CircuitArgs,
|
args: CircuitArgs,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user