-
Notifications
You must be signed in to change notification settings - Fork 150
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
Add LogUp stark memory example #946
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #946 +/- ##
==========================================
+ Coverage 71.32% 71.40% +0.08%
==========================================
Files 155 155
Lines 33537 33574 +37
==========================================
+ Hits 23920 23975 +55
+ Misses 9617 9599 -18 ☔ View full report in Codecov by Sentry. |
#[cfg(feature = "lambdaworks-serde-binary")] | ||
#[cfg(feature = "alloc")] |
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.
this 2 lines can be combined in one using all
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.
Thanks, fixed here.
byte_slice.extend(ByteConversion::to_bytes_be(&self.value()[1])); | ||
byte_slice.extend(ByteConversion::to_bytes_be(&self.value()[2])); | ||
byte_slice.extend(ByteConversion::to_bytes_be(&self.value()[3])); |
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.
maybe it's better to use extend_from_slice
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.
Ok, changed here.
use lambdaworks_crypto::fiat_shamir::is_transcript::IsTranscript; | ||
use lambdaworks_math::field::traits::{IsField, IsPrimeField, IsSubFieldOf}; | ||
use lambdaworks_math::{ | ||
field::{element::FieldElement, traits::IsFFTField}, |
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.
field::{element::FieldElement, traits::IsFFTField}, | |
field::{element::FieldElement, traits::{IsField, IsPrimeField, IsSubFieldOf, IsFFTField}}, |
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.
Thanks, fixed here.
Add a continuous read-only memory stark example using LogUp.
This PR adds an example for the stark prover using the LogUp method for a permutation constraint.