-
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
feat(blockifier): support reverts in native #2271
feat(blockifier): support reverts in native #2271
Conversation
Artifacts upload workflows: |
Using SierraGas without cairo-native is not supported? Code quote: // Check that the tracked resource is SierraGas to make sure that Native is running.
for call in res.iter() {
assert_eq!(call.tracked_resource, TrackedResource::SierraGas);
} |
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 8 of 8 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @amosStarkware, @dorimedini-starkware, and @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.
Reviewable status: 0 of 8 files reviewed, 1 unresolved discussion (waiting on @amosStarkware, @dorimedini-starkware, and @ilyalesokhin-starkware)
crates/blockifier/src/execution/syscalls/syscall_tests/call_contract.rs
line 68 at r1 (raw file):
Previously, ilyalesokhin-starkware wrote…
Using SierraGas without cairo-native is not supported?
It is supported. But is the resource was CairoSteps, the Native class would be replace with casm.
This check is to verify that the native case is not replaced under the hood.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2271 +/- ##
===========================================
+ Coverage 40.10% 68.70% +28.60%
===========================================
Files 26 108 +82
Lines 1895 13891 +11996
Branches 1895 13891 +11996
===========================================
+ Hits 760 9544 +8784
- Misses 1100 3937 +2837
- Partials 35 410 +375 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
fc8224a
to
9692b16
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: all files reviewed, 1 unresolved discussion (waiting on @amosStarkware, @dorimedini-starkware, and @Yoni-Starkware)
crates/blockifier/src/execution/syscalls/syscall_tests/call_contract.rs
line 68 at r1 (raw file):
Previously, Yoni-Starkware (Yoni) wrote…
It is supported. But is the resource was CairoSteps, the Native class would be replace with casm.
This check is to verify that the native case is not replaced under the hood.
it feels like a bad check for usage of native.
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: all files reviewed, 1 unresolved discussion (waiting on @amosStarkware, @dorimedini-starkware, and @ilyalesokhin-starkware)
crates/blockifier/src/execution/syscalls/syscall_tests/call_contract.rs
line 68 at r1 (raw file):
Previously, ilyalesokhin-starkware wrote…
it feels like a bad check for usage of native.
Native yes/no should be transparent :(
I'll think about a better indication
No description provided.