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

chore: make stdlib bn254 naming match native version #1560

Merged
merged 1 commit into from
Aug 14, 2023

Conversation

ledwards2225
Copy link
Contributor

@ledwards2225 ledwards2225 commented Aug 14, 2023

We have a native and stdlib version of the struct bn254, which describes the key curve parameters, e.g. ScalarField, Group, etc. (Eventually Grumpkin will have the same). There are other objects (e.g. Gemini, Shplonk) templated on Curve which should be agnostic to whether the types they're operating on are native or stdlib types. To facilitate this, I've updated the naming in stdlib::bn254 to match the corresponding native description in curve::BN254. Contexts for which the explicit "composer type" suffix ct is desired can employ appropriate aliases.

Copy link
Collaborator

@ludamad ludamad left a comment

Choose a reason for hiding this comment

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

LGTM

@ledwards2225 ledwards2225 self-assigned this Aug 14, 2023
@ledwards2225 ledwards2225 merged commit 347a38a into master Aug 14, 2023
@ledwards2225 ledwards2225 deleted the lde/bn254_naming branch August 14, 2023 20:19
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