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

refactor: remove usage of unstable generic_const_exprs in starky #1300

Merged
merged 3 commits into from
Oct 24, 2023

Conversation

eightfilms
Copy link
Contributor

This PR mostly lifts #1246 down into the lib level into the starky crate, getting rid of the unstable generic_const_exprs feature from the crate entirely. This should work towards the #417 as well.

This would probably warrant a minor version bump in the starky crate to 0.2.0, since this would be an API change for anyone relying on starky.

This PR mostly lifts 0xPolygonZero#1246
down into the lib level into the starky crate, getting rid of the
unstable `generic_const_exprs` feature from the crate entirely. This
should work towards the 0xPolygonZero#417
as well.

This would probably warrant a minor version bump in the starky crate to
0.2.0, since this would be an API change for anyone relying on starky.
starky/src/lib.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@Nashtare Nashtare left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for doing this :)

Comment on lines 18 to 19
fn get_public_inputs(&self) -> &[U];
/// Outputs a new evaluation frame from the provided local and next values.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
fn get_public_inputs(&self) -> &[U];
/// Outputs a new evaluation frame from the provided local and next values.
fn get_public_inputs(&self) -> &[U];
/// Outputs a new evaluation frame from the provided local and next values.

minor nit, but I'd add a separation here.

@Nashtare Nashtare merged commit 8326db6 into 0xPolygonZero:main Oct 24, 2023
2 checks passed
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