8000 Mixer client tidying by dtebbs · Pull Request #302 · clearmatics/zeth · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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

Merged
merged 22 commits into from
Nov 25, 2020
Merged

Mixer client tidying #302

merged 22 commits into from
Nov 25, 2020

Conversation

dtebbs
Copy link
Contributor
@dtebbs dtebbs commented Oct 19, 2020

In preparation for client-side support for other pairings.

@dtebbs dtebbs changed the title WIP: mixer client tidying WIP: mixer client tidying (depends on #300) Oct 20, 2020
@dtebbs dtebbs force-pushed the client-mixer-tidy branch from 8ae4bcc to deac468 Compare October 27, 2020 14:14
@dtebbs dtebbs force-pushed the client-mixer-tidy branch 2 times, most recently from f9c75c7 to 81cb5e9 Compare October 27, 2020 17:45
@dtebbs dtebbs force-pushed the client-mixer-tidy branch 3 times, most recently from e8dc13f to 5fe9174 Compare November 2, 2020 18:46
@dtebbs dtebbs force-pushed the client-mixer-tidy branch from 5fe9174 to 137b60f Compare November 3, 2020 12:54
@dtebbs dtebbs force-pushed the client-mixer-tidy branch 3 times, most recently from 5b36120 to 7f23176 Compare November 9, 2020 09:54
@dtebbs dtebbs changed the base branch from mimc11 to mimc-configurations November 9, 2020 09:56
@dtebbs dtebbs changed the title WIP: mixer client tidying (depends on #300) WIP: mixer client tidying (depends on #309) Nov 9, 2020
@dtebbs dtebbs force-pushed the client-mixer-tidy branch from 7f23176 to b5b147a Compare November 9, 2020 10:31
@dtebbs dtebbs changed the title WIP: mixer client tidying (depends on #309) Mixer client tidying (depends on #309) Nov 9, 2020
@dtebbs dtebbs force-pushed the mimc-configurations branch from eca28ef to 54211f6 Compare November 17, 2020 15:39
@dtebbs dtebbs force-pushed the client-mixer-tidy branch 2 times, most recently from 964ef80 to a74357b Compare November 18, 2020 11:50
@dtebbs dtebbs force-pushed the mimc-configurations branch 2 times, most recently from 87f8df3 to 886387e Compare November 18, 2020 13:30
@AntoineRondelet AntoineRondelet changed the base branch from mimc-configurations to develop November 23, 2020 16:41

template<> std::string pp_name<libff::alt_bn128_pp>()
{
return std::string("alt-bn128");
Copy link
Contributor

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)

Copy link
Contributor Author

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.

@dtebbs dtebbs changed the title Mixer client tidying (depends on #309) Mixer client tidying Nov 24, 2020
Copy link
Contributor
@AntoineRondelet AntoineRondelet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks @dtebbs

@AntoineRondelet AntoineRondelet merged commit d3314d3 into develop Nov 25, 2020
AntoineRondelet added a commit that referenced this pull request Dec 3, 2020
Full support for BLS12-377 (depends on #302)
@AntoineRondelet AntoineRondelet deleted the client-mixer-tidy branch December 10, 2020 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0