remove some legacy code lines left over by accident

This commit is contained in:
Balazs Komuves 2026-01-16 14:13:02 +01:00
parent 73b5ae2734
commit fd2fc6c153
No known key found for this signature in database
GPG Key ID: F63B7AEF18435562
3 changed files with 0 additions and 9 deletions

View File

@ -36,7 +36,6 @@ proc finishPartialProofWithMask*( zkey: ZKey, wtns: Witness, partialProof: Parti
# echo( "wtns.curve = " & ($wtns.curve ) )
assert( zkey.header.curve == wtns.curve )
var start : float = 0
let witness = wtns.values
@ -89,12 +88,10 @@ proc finishPartialProofWithMask*( zkey: ZKey, wtns: Witness, partialProof: Parti
compact_pointsC1[k] = pts.pointsC1[ i - startIdx ]
k += 1
start = cpuTime()
var abc : ABC
withMeasureTime(printTimings,"building 'ABC'"):
abc = buildABC( zkey, witness )
start = cpuTime()
var qs : seq[Fr[BN254_Snarks]]
withMeasureTime(printTimings,"computing the quotient (FFTs)"):
case zkey.header.flavour

View File

@ -37,7 +37,6 @@ proc generatePartialProof*( zkey: ZKey, pwtns: PartialWitness, pool: Taskpool, p
{.fatal: "Compile with arc/orc!".}
# assert( zkey.header.curve == wtns.curve )
var start : float = 0
let partial_witness = pwtns.values
@ -96,12 +95,10 @@ proc generatePartialProof*( zkey: ZKey, pwtns: PartialWitness, pool: Taskpool, p
k += 1
#[
start = cpuTime()
var abc : ABC
withMeasureTime(printTimings,"building 'ABC'"):
abc = buildABC( zkey, witness )
start = cpuTime()
var qs : seq[Fr[BN254_Snarks]]
withMeasureTime(printTimings,"computing the quotient (FFTs)"):
case zkey.header.flavour

View File

@ -41,7 +41,6 @@ proc generateProofWithMask*( zkey: ZKey, wtns: Witness, mask: Mask, pool: Taskpo
# echo( "wtns.curve = " & ($wtns.curve ) )
assert( zkey.header.curve == wtns.curve )
var start : float = 0
let witness = wtns.values
@ -58,12 +57,10 @@ proc generateProofWithMask*( zkey: ZKey, wtns: Witness, mask: Mask, pool: Taskpo
var pubIO = newSeq[Fr[BN254_Snarks]]( npubs + 1)
for i in 0..npubs: pubIO[i] = witness[i]
start = cpuTime()
var abc : ABC
withMeasureTime(printTimings,"building 'ABC'"):
abc = buildABC( zkey, witness )
start = cpuTime()
var qs : seq[Fr[BN254_Snarks]]
withMeasureTime(printTimings,"computing the quotient (FFTs)"):
case zkey.header.flavour