Skip to content

Commit 5573035

Browse files
committed
Merge branch 'native/napi' into querolita/napi-proof
2 parents 9d34fc4 + 53a6174 commit 5573035

File tree

5 files changed

+10
-9
lines changed

5 files changed

+10
-9
lines changed

src/lib/crypto/kimchi_bindings/js/native/header-d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ type NapiPastaFqPlonkIndex = {};
1111
type NapiPastaFp = {};
1212
type NapiPastaFq = {};
1313
type NapiLookupInfo = {};
14-
type WasmPastaFqPlonkIndex = {};
1514
type WasmPastaFpPlonkIndex = {};
15+
type WasmPastaFqPlonkIndex = {};
1616
type Proof = {}
1717
type NapiVector<T> = {};
1818
type NapiFlatVector<T> = {};
19-
type WasmVecVecFq = {};
2019
type WasmVecVecFp = {};
20+
type WasmVecVecFq = {};
2121
type Self = {};
2222

2323
// Header section end

src/lib/crypto/kimchi_bindings/js/node_js/node_backend.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ var plonk_wasm = (function() {
1717
"prover_index_fq_to_bytes",
1818
"caml_pasta_fp_poseidon_block_cipher",
1919
"caml_pasta_fq_poseidon_block_cipher",
20+
"caml_pasta_fp_plonk_proof_create",
2021
"caml_pasta_fp_plonk_verifier_index_shifts",
2122
"caml_pasta_fq_plonk_verifier_index_shifts",
2223
"caml_pasta_fp_plonk_gate_vector_create",

src/lib/crypto/kimchi_bindings/stubs/kimchi_bindings.ml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,8 @@ module Protocol = struct
215215
-> SRS.Fp.t
216216
-> bool
217217
-> t
218-
= "caml_pasta_fp_plonk_index_create_bytecode" "caml_pasta_fp_plonk_index_create"
218+
= "caml_pasta_fp_plonk_index_create_bytecode"
219+
"caml_pasta_fp_plonk_index_create"
219220

220221
external max_degree : t -> int = "caml_pasta_fp_plonk_index_max_degree"
221222

@@ -250,7 +251,8 @@ module Protocol = struct
250251
-> SRS.Fq.t
251252
-> bool
252253
-> t
253-
= "caml_pasta_fq_plonk_index_create_bytecode" "caml_pasta_fq_plonk_index_create"
254+
= "caml_pasta_fq_plonk_index_create_bytecode"
255+
"caml_pasta_fq_plonk_index_create"
254256

255257
external max_degree : t -> int = "caml_pasta_fq_plonk_index_max_degree"
256258

src/lib/pickles/plonk_checks/scalars.ml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2831,8 +2831,7 @@ module Tick : S = struct
28312831
+ if_feature
28322832
( LookupPattern RangeCheck
28332833
, (fun () ->
2834-
cell (var (LookupKindIndex RangeCheck, Curr))
2835-
)
2834+
cell (var (LookupKindIndex RangeCheck, Curr)) )
28362835
, fun () ->
28372836
field
28382837
"0x0000000000000000000000000000000000000000000000000000000000000000"
@@ -2842,8 +2841,7 @@ module Tick : S = struct
28422841
, (fun () ->
28432842
cell
28442843
(var
2845-
(LookupKindIndex ForeignFieldMul, Curr) )
2846-
)
2844+
(LookupKindIndex ForeignFieldMul, Curr) ) )
28472845
, fun () ->
28482846
field
28492847
"0x0000000000000000000000000000000000000000000000000000000000000000"

0 commit comments

Comments
 (0)