wip rework backend
This commit is contained in:
parent
9697b669e3
commit
29e884258c
|
@ -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,
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue