-
Notifications
You must be signed in to change notification settings - Fork 26
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 integration test for interactions #9
Conversation
56c84c0
to
6a1905f
Compare
trace_data: &proven_trace, | ||
airs: airs | ||
.iter() | ||
.map(|&air| air as &dyn ProverRap<StarkConfigPoseidon2>) |
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.
fancy
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.
Nice tests, thanks for being thorough.
Only nit is to add column-to-index mapping if you feel it'd help readability.
use p3_field::Field; | ||
use p3_matrix::dense::RowMajorMatrix; | ||
|
||
pub struct DummyInteractionAir { |
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.
Side note: this is general enough that we should move it into the sdk once it exists, as a general chip testing util
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.
Keep it here for now. Other tests can still use it.
* Add integration test for interactions * Add more test cases * Readability improvement
nightly-2024-05-01
fromstable
to use an experimental feature(upcasting).DummyInteractionAir
intests
for testing.Eq
forVerificationError
to make testing easier.