-
Notifications
You must be signed in to change notification settings - Fork 79
Plonk proofs are invalid if bellman is compiled with the wasm feature #38
Comments
I'll try to look at it, but are you sure that only an opening at z * omega is different? If it's different then opening proof at z should also not match as they are computed by the same function largely |
Thanks for taking a look! Only
|
@weijiekoh, did you figure out the root cause? I have the same issue. |
I haven't figured out the cause of the issue unfortunately... |
@shamatar openning_at_z_omega is the first difference. I guess the bug is raised here https://github.com/matter-labs/bellman/blob/beta/src/plonk/better_cs/prover/prove_steps.rs#L1296. Log of: and the wasm is : |
@weijiekoh this issue had been fixed at PR #45. |
Thank you for writing this library! I'm experimenting with using it to produce Plonk proofs in WASM. However, I'm facing an issue.
If I compile using the
wasm
feature, the Plonk proofs produced are invalid. If I do so withmulticore
, however, the proofs are valid. This can be seen through this demonstration: https://github.com/weijiekoh/bellman_ce_bugThe underlying issue is that the
opening_at_z_omega_proof
differs. All other values of the proof match.The text was updated successfully, but these errors were encountered: