-
Notifications
You must be signed in to change notification settings - Fork 27
Mixer client tidying #302
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
Mixer client tidying #302
Conversation
8ae4bcc
to
deac468
Compare
f9c75c7
to
81cb5e9
Compare
e8dc13f
to
5fe9174
Compare
5fe9174
to
137b60f
Compare
5b36120
to
7f23176
Compare
7f23176
to
b5b147a
Compare
eca28ef
to
54211f6
Compare
964ef80
to
a74357b
Compare
87f8df3
to
886387e
Compare
a74357b
to
f4151a5
Compare
|
||
template<> std::string pp_name<libff::alt_bn128_pp>() | ||
{ | ||
return std::string("alt-bn128"); |
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.
I don't think constants are supported by protobuf... Since I can see that these "pairing params names" are hardcoded in several places (here, in client/tests/test_pairing.py, in client/zeth/core/zksnark.py, in client/zeth/core/mimc.py) it would have been great to use some constants defined in the proto config directly.. I think Cap'n Proto can do that (https://capnproto.org/language.html#constants) which may be another argument towards considering switching to that later down the line (see also: #169)
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.
Interesting. Yes, constants would be helpful in these cases.
f4151a5
to
f6c17d5
Compare
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.
LGTM - thanks @dtebbs
Full support for BLS12-377 (depends on #302)
In preparation for client-side support for other pairings.
MixerBase