-
Notifications
You must be signed in to change notification settings - Fork 25
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
test(blockifier): test negative flows of cairo1 revert trace #1469
test(blockifier): test negative flows of cairo1 revert trace #1469
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1469 +/- ##
===========================================
+ Coverage 40.10% 69.06% +28.96%
===========================================
Files 26 100 +74
Lines 1895 13446 +11551
Branches 1895 13446 +11551
===========================================
+ Hits 760 9287 +8527
- Misses 1100 3759 +2659
- Partials 35 400 +365 ☔ View full report in Codecov by Sentry. |
c12f6ca
to
2a6741b
Compare
6df0297
to
8fab0fd
Compare
2a6741b
to
c126f53
Compare
8fab0fd
to
582221f
Compare
c126f53
to
bfef88e
Compare
582221f
to
7667b7a
Compare
bfef88e
to
586d8e8
Compare
7667b7a
to
ddeef49
Compare
586d8e8
to
b1a7928
Compare
ddeef49
to
8d4dd2e
Compare
b1a7928
to
d050f37
Compare
8d4dd2e
to
8f4fea9
Compare
d050f37
to
368e075
Compare
8f4fea9
to
66a1db9
Compare
368e075
to
12b626d
Compare
9f232fc
to
77832c9
Compare
bb2a90b
to
56714fe
Compare
Artifacts upload triggered. View details here |
77832c9
to
c0953ac
Compare
56714fe
to
208db1c
Compare
Artifacts upload triggered. View details here |
c0953ac
to
44f85b6
Compare
208db1c
to
b09ce0a
Compare
Artifacts upload triggered. View details here |
44f85b6
to
a3b26a1
Compare
b09ce0a
to
4f3149d
Compare
Artifacts upload triggered. View details here |
Artifacts upload triggered. View details here |
4f3149d
to
9976b8a
Compare
Artifacts upload triggered. View details here |
Artifacts upload triggered. View details here |
Artifacts upload triggered. View details here |
This is strange. Shouldn't it panic in that case? Code quote: /// If extraction function is called with a successful callinfo, it should return an empty stack and
/// the original retdata. |
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: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @ilyalesokhin-starkware and @Yoni-Starkware)
crates/blockifier/src/execution/stack_trace_test.rs
line 1042 at r4 (raw file):
Previously, ilyalesokhin-starkware wrote…
This is strange.
Shouldn't it panic in that case?
We don't want to panic at all in the stack extraction; if the input is "malformed" we use a fallback by design
Previously, dorimedini-starkware wrote…
We shouldn't call that function in that case. |
Previously, ilyalesokhin-starkware wrote…
can you just update the comment and say that we don't expect the function to be called in this case? |
9976b8a
to
94c7206
Compare
Artifacts upload triggered. View details 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.
Reviewed 1 of 1 files at r5.
Reviewable status: all files reviewed (commit messages unreviewed), all discussions resolved (waiting on @Yoni-Starkware)
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.
Reviewed all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @Yoni-Starkware)
No description provided.