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

Type aliases for Vesta base and scalar fields #51

Open
aleasims opened this issue Sep 14, 2023 · 0 comments
Open

Type aliases for Vesta base and scalar fields #51

aleasims opened this issue Sep 14, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@aleasims
Copy link
Contributor

Vesta base and scalar fields are equivalent to Pallas scalar and base fields corresponding. Therefore Pallas field types are used in Vesta curve implementations. Vesta field types are not added to Rust primitives.

But it may be convenient if we add type aliases for them to library, so users can use them explicitly:

type __zkllvm_field_vesta_base = __zkllvm_field_pallas_scalar;
type __zkllvm_field_vesta_scalar = __zkllvm_field_pallas_base;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

1 participant