-
Notifications
You must be signed in to change notification settings - Fork 129
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
Adding a constructor for ParamsKZG
#163
Comments
Sure! I don't see any reason why this could not be done. But I'm not sure why the current usage options don't fit you.
Why any of these two things doesn't work for you? What are you trying to do? |
Yeah I was trying to initialize the parameters from an existing setup ceremony |
I can try to open a pr that add this functionality if thats okay :) |
Ohh I see. If so, if you want to make a PR, we definitely appreciate it! Otherwise, we'll try to implement this as soon as we have time for it! 😄 |
Yep
Will do later today 🫡 |
Other option is that to make a file that halo2 can deserialize so that we can ensure that parameters can pass assertions while reading |
btw for reading from existing ceremony, we also have some format converted already in this repo https://github.com/han0110/halo2-kzg-srs (currently we have converted https://github.com/weijiekoh/perpetualpowersoftau and https://github.com/iden3/snarkjs). |
Great will have a look 🙂 |
Hey
I'm wondering if a ParamsKZG constructor can be added so that it can be initialized through
k
,n
,g
,g_lagrange
,g2
,s_g2
🙂. Currently these fields are only accessible through the crate and there's no function that can do thisThe text was updated successfully, but these errors were encountered: