mirror of
https://github.com/codex-storage/nim-codex.git
synced 2025-01-19 01:12:34 +00:00
add circom params (temprorary)
This commit is contained in:
parent
e271875f6a
commit
4deeed64ef
@ -240,6 +240,36 @@ type
|
||||
defaultValue: noCmd
|
||||
command }: StartUpCmd
|
||||
of persistence:
|
||||
circomR1cs* {.
|
||||
desc: "The r1cs file for the storage circuit"
|
||||
defaultValue: defaultDataDir() / "circuits" / "proof_main.r1cs"
|
||||
name: "circom-r1cs"
|
||||
.}: string
|
||||
|
||||
circomWasm* {.
|
||||
desc: "The wasm file for the storage circuit"
|
||||
defaultValue: defaultDataDir() / "circuits" / "proof_main.wasm"
|
||||
name: "circom-wasm"
|
||||
.}: string
|
||||
|
||||
circomZkey* {.
|
||||
desc: "The zkey file for the storage circuit"
|
||||
defaultValue: defaultDataDir() / "circuits" / "proof_main.zkey"
|
||||
name: "circom-zkey"
|
||||
.}: string
|
||||
|
||||
circomNoZkey* {.
|
||||
desc: "Ignore the zkey file - use only for testing!"
|
||||
defaultValue: false
|
||||
name: "circom-no-zkey"
|
||||
.}: bool
|
||||
|
||||
numProofSamples* {.
|
||||
desc: "Number of samples to prove"
|
||||
defaultValue: DefaultSamplesNum
|
||||
defaultValueDesc: $DefaultSamplesNum
|
||||
name: "proof-samples" }: int
|
||||
|
||||
ethProvider* {.
|
||||
desc: "The URL of the JSON-RPC API of the Ethereum node"
|
||||
defaultValue: "ws://localhost:8545"
|
||||
|
Loading…
x
Reference in New Issue
Block a user