wip rework backend

This commit is contained in:
Dmitriy Ryajov 2024-01-26 19:53:11 -06:00
parent 9697b669e3
commit 29e884258c
No known key found for this signature in database
GPG Key ID: DA8C680CE7C657A4
2 changed files with 15 additions and 12 deletions

View File

@ -172,7 +172,10 @@ proc prove*[H](
if backend != nil: if backend != nil:
backend.addr.releaseCircomCompat() backend.addr.releaseCircomCompat()
success proof success CircomProof(
proof: proof,
cfg: self.backendCfg,
backend: backend)
proc verify*( proc verify*(
self: CircomCompat, self: CircomCompat,

View File

@ -1,12 +1,12 @@
## Nim-Codex # ## Nim-Codex
## Copyright (c) 2024 Status Research & Development GmbH # ## Copyright (c) 2024 Status Research & Development GmbH
## Licensed under either of # ## Licensed under either of
## * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE)) # ## * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE))
## * MIT license ([LICENSE-MIT](LICENSE-MIT)) # ## * MIT license ([LICENSE-MIT](LICENSE-MIT))
## at your option. # ## at your option.
## This file may not be copied, modified, or distributed except according to # ## This file may not be copied, modified, or distributed except according to
## those terms. # ## those terms.
## # ##
import pkg/chronos import pkg/chronos
import pkg/chronicles import pkg/chronicles
@ -25,8 +25,8 @@ import ../../utils/poseidon2digest
import ../builder import ../builder
import ../sampler import ../sampler
import ./backends # import ./backends
import ../types # import ../types
export backends export backends