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: change Witness inheritance to WitnessWrite for set_stark_proof_with_pis_target #10

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

silathdiir
Copy link

The set_stark_proof_with_pis_target function is used in thie code of starky-bn254. The out_buffer is type GeneratedValues which only implements WitnessWrite, and not implements Witness.

The Witness trait not only implements WitnessWrite trait for Setter functions, and also implements Getter functions. But set_stark_proof_with_pis_target only needs Setters, since this fix could be compiled successfully.

@nikkolasg nikkolasg merged commit 22c42f6 into upstream Sep 5, 2024
2 of 5 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