Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complete bn254 bindings implementation #3

Draft
wants to merge 17 commits into
base: wasm_kzg_prover
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/bindings
Submodule bindings updated 41 files
+1 −1 MINA_COMMIT
+206,754 −206,145 compiled/node_bindings/o1js_node.bc.cjs
+1 −1 compiled/node_bindings/o1js_node.bc.map
+2,265 −2,473 compiled/node_bindings/plonk_wasm.cjs
+732 −771 compiled/node_bindings/plonk_wasm.d.cts
+ compiled/node_bindings/plonk_wasm_bg.wasm
+546 −566 compiled/node_bindings/plonk_wasm_bg.wasm.d.ts
+37 −37 compiled/web_bindings/o1js_web.bc.js
+1,295 −1,354 compiled/web_bindings/plonk_wasm.d.ts
+2,221 −2,430 compiled/web_bindings/plonk_wasm.js
+ compiled/web_bindings/plonk_wasm_bg.wasm
+547 −567 compiled/web_bindings/plonk_wasm_bg.wasm.d.ts
+528 −1 crypto/constants.ts
+10 −3 crypto/poseidon.ts
+0 −176 kimchi/js/bindings-curve.js
+0 −506 kimchi/js/bindings-field.js
+0 −91 kimchi/js/bindings-vector.js
+0 −1,382 kimchi/js/bindings.js
+0 −50 kimchi/js/js_backend/vector.js
+0 −1,192 kimchi/js/test/bindings_js_test.ml
+0 −1,495 kimchi/wasm/Cargo.lock
+0 −80 kimchi/wasm/Cargo.toml
+0 −244 kimchi/wasm/src/arkworks/bn254_fp.rs
+0 −244 kimchi/wasm/src/arkworks/bn254_fq.rs
+0 −261 kimchi/wasm/src/arkworks/group_affine.rs
+0 −36 kimchi/wasm/src/arkworks/mod.rs
+0 −273 kimchi/wasm/src/bn254_fp_plonk_index.rs
+0 −44 kimchi/wasm/src/circuit.rs
+0 −222 kimchi/wasm/src/gate_vector.rs
+0 −114 kimchi/wasm/src/lib.rs
+0 −273 kimchi/wasm/src/pasta_fp_plonk_index.rs
+0 −244 kimchi/wasm/src/pasta_fq_plonk_index.rs
+0 −967 kimchi/wasm/src/plonk_proof.rs
+0 −1,074 kimchi/wasm/src/plonk_verifier_index.rs
+0 −113 kimchi/wasm/src/poly_comm.rs
+0 −268 kimchi/wasm/src/srs.rs
+0 −174 kimchi/wasm/src/wasm_vector.rs
+97 −2 lib/provable-snarky-bn254.ts
+64 −5 ocaml/lib/snarky_bindings.ml
+22 −1 ocaml/lib/snarky_bindings.mli
+22 −7 ocaml/o1js_constants.ml
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export {
export { createForeignCurve, ForeignCurve } from './lib/foreign-curve.js';
export { createEcdsa, EcdsaSignature } from './lib/foreign-ecdsa.js';
export { Poseidon, TokenSymbol, ProvableHashable } from './lib/hash.js';
export { Poseidon as PoseidonBn254 } from './lib/hash-bn254.js';
export { Keccak } from './lib/keccak.js';
export { Hash } from './lib/hashes-combined.js';

Expand Down