small comments / fix typos

This commit is contained in:
Balazs Komuves 2023-11-21 11:31:27 +01:00
parent 26f708f908
commit 502e031e95
No known key found for this signature in database
GPG Key ID: F63B7AEF18435562
4 changed files with 5 additions and 5 deletions

View File

@ -33,6 +33,8 @@ proc exportPublicIO*( fpath: string, prf: Proof ) =
let f = open(fpath, fmWrite)
defer: f.close()
# note: we start from 1 because the 0th element is the constant 1 "variable",
# which is automatically added by the tools
for i in 1..<n:
let str : string = toQuotedDecimalFr( prf.publicIO[i] )
if i==1:

View File

@ -43,7 +43,7 @@
# ...
# ...
#
# 4: Custom gates application
# 5: Custom gates application
# ---------------------------
# ...
# ...

View File

@ -11,9 +11,7 @@
#
# nvars = 1 + pub + secret = 1 + npubout + npubin + nprivin + nsecret
#
# NOTE: Unlike the `.zkey` files, which encode field elements in the
# Montgomery representation, the `.wtns` file encode field elements in
# the standard representation!
# Field elements are encoded in the standard representation.
#
import std/streams

View File

@ -31,7 +31,7 @@
# beta2 : G2 = [beta]_2
# gamma2 : G2 = [gamma]_2
# delta1 : G1 = [delta]_1
# delta2 : G2 = [delta_2]
# delta2 : G2 = [delta]_2
#
# 3: IC
# -----