Skip to content

Commit cf6cf90

Browse files
authored
Merge pull request #3342 from o1-labs/native/napi-srs
(`proof-systems`) Native Prover with Napi - SRS
2 parents 9701ac4 + e7a3178 commit cf6cf90

File tree

9 files changed

+809
-176
lines changed

9 files changed

+809
-176
lines changed

plonk-napi/src/circuit.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use crate::{build_info::report_native_call, pasta_fp_plonk_index::WasmPastaFpPlonkIndex};
1+
use crate::{build_info::report_native_call, pasta_fp_plonk_index::NapiPastaFpPlonkIndex};
22
use ark_ff::PrimeField;
33
use kimchi::circuits::{constraints::ConstraintSystem, gate::CircuitGate};
44
use mina_curves::pasta::Fp;
@@ -29,7 +29,7 @@ where
2929
}
3030

3131
#[napi(js_name = "prover_to_json")]
32-
pub fn prover_to_json(prover_index: &External<WasmPastaFpPlonkIndex>) -> String {
32+
pub fn prover_to_json(prover_index: &External<NapiPastaFpPlonkIndex>) -> String {
3333
report_native_call();
3434

3535
let circuit: Circuit<Fp> = prover_index.0.cs.as_ref().into();

0 commit comments

Comments
 (0)