sCrypt-Inc / zokrates

A zero-knowledge proof toolbox on Bitcoin. A fork of zokrates (https://github.com/Zokrates/ZoKrates).
GNU Lesser General Public License v3.0
14 stars 1 forks source link

Change miller(beta, alpha) function result format #37

Open msinkec opened 1 year ago

msinkec commented 1 year ago

It's currently a string of an sCrypt struct initialization. Make the result be an array of values and only make it a string in the part where the template gets populated. Also make sure to update zokrates_js after.

https://github.com/sCrypt-Inc/zokrates/blob/main/zokrates_bellman/src/groth16.rs#L115