-
Notifications
You must be signed in to change notification settings - Fork 136
[WIP] Proof functions + native prover demo #3366
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
base: native/napi
Are you sure you want to change the base?
Conversation
|
|
||
| #[napi(js_name = "pasta_fp_plonk_index_max_degree")] | ||
| pub fn caml_pasta_fp_plonk_index_max_degree(index: &External<NapiPastaFpPlonkIndex>) -> i32 { | ||
| pub fn caml_pasta_fp_plonk_index_max_degree(index: &External<WasmPastaFpPlonkIndex>) -> i32 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't the js_name be caml_pasta_fp_plonk_index_max_degree instead of just pasta_fp_plonk_index_max_degree? Same for the rest
| srs: Vec<u8>, | ||
| } | ||
|
|
||
| impl NapiPastaFpPlonkIndex { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mmmm doesn't #[napi(js_name = "WasmPastaFpPlonkIndex")] work here? I was trying to rename at the napi level these functions so they are prefixed Napi inside plonk-napi, but then read as Wasm- from outside.
#3366
MinaProtocol/mina#18079
o1-labs/o1js#2628