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

Can't use parsed params for verification in bellman #132

Open
upbqdn opened this issue Mar 19, 2024 · 1 comment
Open

Can't use parsed params for verification in bellman #132

upbqdn opened this issue Mar 19, 2024 · 1 comment

Comments

@upbqdn
Copy link

upbqdn commented Mar 19, 2024

The fn parse_parameters returns ZcashParameters, which now contains types such as PreparedVerifyingKey, which wrap the original types from bellman. However, the fn verify_single in bellman still takes the wrapped type: PreparedVerifyingKey<E: MultimellerLoop>.

Unfortunately, I couldn't think of a way to parse the params and then use them with verify_single.

@upbqdn
Copy link
Author

upbqdn commented Mar 19, 2024

Oops, I'm now realizing I should have logged this in librustzcash instead. Too many tabs.

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

1 participant