-
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): add deploy syscall implementation #1554
Conversation
Artifacts upload triggered. View details here |
ceff54f
to
f9d4b21
Compare
73bf8f3
to
b38c400
Compare
Artifacts upload triggered. View details here |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1554 +/- ##
===========================================
+ Coverage 40.10% 69.07% +28.96%
===========================================
Files 26 105 +79
Lines 1895 13658 +11763
Branches 1895 13658 +11763
===========================================
+ Hits 760 9434 +8674
- Misses 1100 3821 +2721
- Partials 35 403 +368 ☔ View full report in Codecov by Sentry. |
Artifacts upload triggered. View details here |
147c1d3
to
ded98cf
Compare
9447432
to
55e0f85
Compare
Artifacts upload triggered. View details here |
Artifacts upload triggered. View details here |
Artifacts upload triggered. View details here |
a00063b
to
8ad184c
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.
Reviewed 1 of 2 files at r2, 1 of 1 files at r3, 3 of 8 files at r6, 1 of 3 files at r7, 2 of 4 files at r8, all commit messages.
Reviewable status: 8 of 11 files reviewed, 1 unresolved discussion (waiting on @noaov1 and @varex83)
crates/blockifier/feature_contracts/cairo_native/test_contract.cairo
line 79 at r8 (raw file):
contract_address_0: ContractAddress, entry_point_selector_0: felt252, calldata_0: Array::<felt252>,
This shouldn't be part of this PR
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 8 files at r6, 1 of 4 files at r8.
Reviewable status: 10 of 11 files reviewed, 2 unresolved discussions (waiting on @noaov1 and @varex83)
crates/blockifier/src/execution/native/utils.rs
line 31 at r8 (raw file):
match String::from_utf8(bytes_err) { Ok(s) => s.trim_matches('\0').to_owned(), Err(_) => {
Shouldn't be part of this PR
8ad184c
to
93ac2d0
Compare
9327187
to
56d98f9
Compare
55e0f85
to
15ecfd9
Compare
Artifacts upload triggered. View details here |
56d98f9
to
0d43daa
Compare
35a2507
to
55e0f85
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 r18, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @noaov1 and @Yoni-Starkware)
998d024
to
6992f6f
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.
Reviewable status: 32 of 35 files reviewed, 1 unresolved discussion (waiting on @meship-starkware, @noaov1, and @Yoni-Starkware)
crates/blockifier/src/execution/native/entry_point_execution.rs
line 45 at r12 (raw file):
Previously, varex83 (Bohdan Ohorodnii) wrote…
We've added it since some of the errors from the native go into the "Ok", but tests were expecting it to be an error, so we've returned to this approach. I believe this will be refactored in the way that the error native syscall returns triple: Ok(..), RuntimeError(...), UnexpectedError(...) (for example some conversion problem).
If we remove this part of the code, we must rewrite tests, and native code won't be compatible with VM returns. We've also put it here since not all syscall tests are dependent on it.
Should be removed 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.
Reviewed 1 of 2 files at r16, 3 of 3 files at r19, all commit messages.
Dismissed @noaov1 from a discussion.
Reviewable status: all files reviewed, 1 unresolved discussion (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.
Reviewable status: complete! all files reviewed, 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 3 of 3 files at r19, all commit messages.
Reviewable status: complete! all files reviewed, 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 1 of 3 files at r7, 26 of 30 files at r10, 3 of 3 files at r11, 1 of 2 files at r12, 1 of 2 files at r16, 3 of 3 files at r19, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @varex83)
d90688f
to
816c81b
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: complete! all files reviewed, all discussions resolved (waiting on @varex83)
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 @varex83)
a discussion (no related file):
Please rebase to resolve conflicts
816c81b
to
b0fa3a9
Compare
21efb72
to
64de5df
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.
Reviewed 4 of 4 files at r20, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @varex83)
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 r21, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @varex83)
64de5df
to
9de0e66
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 r22, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @varex83)
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 @varex83)
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: complete! all files reviewed, all discussions resolved (waiting on @varex83)
No description provided.