Skip to content

Commit 7fbfb65

Browse files
committed
jsoo: use vectorToRust instead of fieldsToRustFlat because it is not in tsRustConversionNative (reuses from wasm)
1 parent 81e75cf commit 7fbfb65

File tree

1 file changed

+2
-2
lines changed
  • src/lib/crypto/kimchi_bindings/js/native/native-overrides

1 file changed

+2
-2
lines changed

src/lib/crypto/kimchi_bindings/js/native/native-overrides/srs.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ var caml_fp_srs_b_poly_commitment = function (srs, chals) {
7373
console.log("native caml_fp_srs_b_poly_commitment");
7474
var res = plonk_wasm.caml_fp_srs_b_poly_commitment(
7575
srs,
76-
tsRustConversionNative.fieldsToRustFlat(chals)
76+
tsRustConversionNative.fp.vectorToRust(chals)
7777
);
7878
return tsRustConversionNative.fp.polyCommFromRust(res);
7979
};
@@ -171,7 +171,7 @@ var caml_fq_srs_b_poly_commitment = function (srs, chals) {
171171
console.log("native caml_fq_srs_b_poly_commitment");
172172
var res = plonk_wasm.caml_fq_srs_b_poly_commitment(
173173
srs,
174-
tsRustConversionNative.fieldsToRustFlat(chals)
174+
tsRustConversionNative.fq.vectorToRust(chals)
175175
);
176176
return tsRustConversionNative.fq.polyCommFromRust(res);
177177
};

0 commit comments

Comments
 (0)