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:
backend.addr.releaseCircomCompat()
success proof
success CircomProof(
proof: proof,
cfg: self.backendCfg,
backend: backend)
proc verify*(
self: CircomCompat,

View File

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