move the nimble file to the root (apparently nimble requires this for git dependencies??)

This commit is contained in:
Balazs Komuves 2026-01-15 18:25:39 +01:00
parent 9f7cc651a2
commit ab2c699f8d
No known key found for this signature in database
GPG Key ID: F63B7AEF18435562
4 changed files with 13 additions and 8 deletions

4
.gitignore vendored
View File

@ -3,4 +3,6 @@
*.o
tmp/
build/
.ghc.environment.*
.ghc.environment.*
main
testMain

View File

@ -1,8 +1,9 @@
version = "0.0.1"
version = "0.0.2"
author = "Balazs Komuves"
description = "Witness generation for circom circuits"
license = "MIT OR Apache-2.0"
srcDir = "nim"
bin = @["main"]
bin = @["testMain"]
requires "constantine >= 0.2.0"

4
nim/.gitignore vendored
View File

@ -1,3 +1,5 @@
.DS_Store
tmp/
cli
main
tmp/
testMain

View File

@ -14,10 +14,10 @@ import circom_witnessgen/export_wtns
#-------------------------------------------------------------------------------
const graph_file: string = "./tmp/rln_main.graph"
const input_file: string = "./tmp/input.json"
const partial_file: string = "./tmp/partial.json"
const wtns_file: string = "./tmp/output.wtns"
const graph_file: string = "./nim/tmp/rln_main.graph"
const input_file: string = "./nim/tmp/input.json"
const partial_file: string = "./nim/tmp/partial.json"
const wtns_file: string = "./nim/tmp/output.wtns"
const unchanging_inputs: seq[string] = @["secret_key","msg_limit","merkle_root","leaf_idx","merkle_path"]