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

Move FRI to generic field #257

Merged
merged 15 commits into from Aug 30, 2022
Merged

Move FRI to generic field #257

merged 15 commits into from Aug 30, 2022

Conversation

tzerrell
Copy link
Member

Allow FRI to work with generic field elems. The bulk of this is methods for representing field elements as sequences of u32s and providing conversions -- these are used to read and write field elements from the IoP.

I also adjusted the Merkle tree tests to work with moderately large elements (of the baby bear field) rather than start from 0, as there were possible errors with casting to a smaller type that wouldn't be caught because all field elements in the merkle tree were small.

@tzerrell tzerrell requested review from flaub, shkoo and 3lkn August 27, 2022 00:37
@tzerrell tzerrell self-assigned this Aug 27, 2022
@shkoo shkoo merged commit 2b0bc80 into main Aug 30, 2022
@shkoo shkoo deleted the tzerrell-fp-words branch August 30, 2022 18:05
Copy link
Member Author

@tzerrell tzerrell 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 cleaning up and shepherding through to merging while I was away!

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.

None yet

3 participants