-
Notifications
You must be signed in to change notification settings - Fork 94
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
o1vm/pickles: Add the verifier #2694
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2694 +/- ##
==========================================
+ Coverage 72.50% 73.21% +0.70%
==========================================
Files 247 248 +1
Lines 57706 58017 +311
==========================================
+ Hits 41842 42475 +633
+ Misses 15864 15542 -322 ☔ View full report in Codecov by Sentry. |
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.
I would simplify the interface of the verifier, and try to "plug it" in the main.rs to check that the interface maps one usable.
Converting into a draft as it doesn't seem to be ready. |
Need some help testing this. It compiles now, but I'm pretty sure I forgot stuff and it's not correct. |
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.
Some reminders for what to start on tomorrow.
83562bf
to
5f845ee
Compare
EFqSponge: Clone + FqSponge<G::BaseField, G, G::ScalarField>, | ||
EFrSponge: FrSponge<G::ScalarField>, | ||
>( | ||
domain: EvaluationDomains<G::ScalarField>, |
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.
in a follow up we should replace the domain by omega and the domain size.
I do not like having something of linear size as the input of the verifier
Beside changing the assert for the quotient and adding a test, LGTM |
6db3291
to
c04003a
Compare
Ready for final review. |
2ef606e
to
7930244
Compare
} | ||
/* expr *= Expr::cell(Column::DynamicSelector(0), CurrOrNext::Curr); */ | ||
let mut rng = make_test_rng(None); | ||
type BaseSponge = DefaultFqSponge<PallasParameters, PlonkSpongeConstantsKimchi>; |
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.
Can we move this in mod.rs
?
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.
I would disagree. These are only used in the tests, and so belong here.
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.
It is not used only in tests. There are also the same definitions in mod.rs
for main.rs
.
This reverts commit 2839921.
b6dbc5d
to
940d2b2
Compare
Note to future viewers of this commit: Consider my commits verified; marc rebased our changes and that's why they aren't signed anymore. |
@dannywillems Let me know if you want more changes or can approve. Should be good, pending CI now. |
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.
LGTM: added #2738 on top.
No description provided.