-
Notifications
You must be signed in to change notification settings - Fork 66
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
Make prove() generic in Backend #490
Make prove() generic in Backend #490
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @spapinistarkware and the rest of your teammates on Graphite |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## spapini/03-15-commitmentschemeprover_generic_in_backend #490 +/- ##
==========================================================================================
Coverage ? 93.35%
==========================================================================================
Files ? 65
Lines ? 8301
Branches ? 8301
==========================================================================================
Hits ? 7749
Misses ? 490
Partials ? 62 ☔ View full report in Codecov by Sentry. |
cdf9971
to
8b957d1
Compare
3c9f330
to
364984c
Compare
8b957d1
to
f7a11cd
Compare
364984c
to
05f6703
Compare
9ccea91
to
013d95c
Compare
0e6f2ac
to
42f9f4c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 5 of 11 files reviewed, 2 unresolved discussions (waiting on @spapinistarkware)
src/core/prover/mod.rs
line 170 at r5 (raw file):
air: &impl Air<B>, mut sampled_values: TreeVec<ColumnVec<Vec<SecureField>>>, ) -> Result<(ComponentVec<Vec<SecureField>>, SecureField), ()> {
Can we have a specific error something like InvalidOodsSampleStructure
or document the error case please?
src/core/prover/mod.rs
line 171 at r5 (raw file):
mut sampled_values: TreeVec<ColumnVec<Vec<SecureField>>>, ) -> Result<(ComponentVec<Vec<SecureField>>, SecureField), ()> { let composition_partial_sampled_values = sampled_values.pop().ok_or(())?;
So the last value is always the composition? Should we document this? /// Assumes the last sample corresponds to the OODS values for the composition columns.
013d95c
to
fe5fc4b
Compare
42f9f4c
to
6a9223d
Compare
fe5fc4b
to
2820b53
Compare
6a9223d
to
15792de
Compare
2820b53
to
d68f9c8
Compare
15792de
to
d6c6c07
Compare
1a09f8c
to
a1393b7
Compare
a1393b7
to
573b59e
Compare
d6c6c07
to
2a6c1c1
Compare
573b59e
to
967baeb
Compare
2a6c1c1
to
2247dbf
Compare
967baeb
to
d6901e7
Compare
2247dbf
to
701e435
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 3 of 14 files reviewed, 2 unresolved discussions (waiting on @andrewmilson)
src/core/prover/mod.rs
line 170 at r5 (raw file):
Previously, andrewmilson (Andrew Milson) wrote…
Can we have a specific error something like
InvalidOodsSampleStructure
or document the error case please?
Can we do this in another PR? It's not related to this one.
src/core/prover/mod.rs
line 171 at r5 (raw file):
Previously, andrewmilson (Andrew Milson) wrote…
So the last value is always the composition? Should we document this?
/// Assumes the last sample corresponds to the OODS values for the composition columns.
Can we do this in another PR? It's not related to this one.
d6901e7
to
5a50691
Compare
701e435
to
42c6621
Compare
5a50691
to
3659df9
Compare
42c6621
to
2053114
Compare
Merge activity
|
2053114
to
e3218cf
Compare
This change is