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

fix: correct the pub types/fields(post frontend-backend split) #276

Merged
merged 8 commits into from
Feb 21, 2024

Conversation

duguorong009
Copy link

Description

  • review & correct the pub types/fields in every crate

Related issues

Changes

  • correct the pub types/fields in following crates:
    halo2_common, halo2_frontend, halo2_backend

@duguorong009 duguorong009 changed the title fix: correct the pub types/fields(effect of frontend-backend split) fix: correct the pub types/fields(post frontend-backend split) Feb 15, 2024
@CPerezz
Copy link
Member

CPerezz commented Feb 16, 2024

@duguorong009 CI is not passing. Could you address the errors first?

@duguorong009
Copy link
Author

duguorong009 commented Feb 16, 2024

@duguorong009 CI is not passing. Could you address the errors first?

@CPerezz Fixed the CI issues.

Copy link
Member

@ed255 ed255 left a comment

Choose a reason for hiding this comment

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

Everything looks good except for the two comments I added.

halo2_backend/src/plonk/permutation.rs Outdated Show resolved Hide resolved
halo2_backend/src/plonk.rs Outdated Show resolved Hide resolved
@duguorong009 duguorong009 self-assigned this Feb 19, 2024
Copy link
Member

@ed255 ed255 left a comment

Choose a reason for hiding this comment

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

Thanks for addressing the feedback! I totally agree that we can do more corrections once #266 is completed :)

Copy link
Member

@CPerezz CPerezz left a comment

Choose a reason for hiding this comment

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

LGTM modulo filling an issue for the TODO.

@@ -3,6 +3,7 @@ use halo2_middleware::ff::Field;
use std::fmt::{self, Debug};

/// Expressions involved in a lookup argument, with a name as metadata.
/// TODO: possible to move to "halo2_backend", if moved, pub(crate) fields.
Copy link
Member

Choose a reason for hiding this comment

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

Do we have an issue for that?

Copy link
Author

Choose a reason for hiding this comment

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

This issue is related to #266 .
FYI, I added the TODO comment for easy lookup.

Copy link
Author

Choose a reason for hiding this comment

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

For the best, I added this issue to list of #266.
#266 (comment)

@duguorong009 duguorong009 merged commit c08b877 into main Feb 21, 2024
15 checks passed
@duguorong009 duguorong009 deleted the gr@post-fb-split-review-pub branch February 21, 2024 08:52
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.

3 participants