Skip to content
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

no AdditiveGroup trait in ark_ec library, but it is used in elgamal module #123

Open
ash370 opened this issue Nov 6, 2023 · 2 comments
Open

Comments

@ash370
Copy link

ash370 commented Nov 6, 2023

When I use elgamal module,I find error in code

use ark_ec::{AdditiveGroup, CurveGroup};

there is not AdditiveGroup trait in ark_ec library.
What can I do to solve this problem?

@storojs72
Copy link

Confirm, trying to build from rev='fc1c9491c62ce51edf4f0b4e2ab270b85d0150ab':

Compiling ark-crypto-primitives v0.4.0 (https://github.com/arkworks-rs/crypto-primitives?rev=fc1c9491c62ce51edf4f0b4e2ab270b85d0150ab#fc1c9491)
error[E0432]: unresolved import `ark_ec::AdditiveGroup`

@mmagician
Copy link
Member

You will need to patch, like here, or use the 0.5.0-alpha release.

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

No branches or pull requests

3 participants