-
Notifications
You must be signed in to change notification settings - Fork 22
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 support for secp256k1 syscall for native #1940
base: pwhite/secp256r1
Are you sure you want to change the base?
Conversation
Artifacts upload triggered. View details here |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## pwhite/secp256r1 #1940 +/- ##
===================================================
Coverage ? 77.45%
===================================================
Files ? 385
Lines ? 40472
Branches ? 40472
===================================================
Hits ? 31349
Misses ? 6816
Partials ? 2307 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
f54287b
to
2498eef
Compare
590ba1f
to
6040a7c
Compare
Artifacts upload triggered. View details here |
b3cfd3f
to
eee03a4
Compare
eee03a4
to
d4e7797
Compare
6040a7c
to
e5802a7
Compare
Artifacts upload triggered. View details here |
e5802a7
to
09aeab9
Compare
Artifacts upload triggered. View details here |
4a82593
to
3854b86
Compare
3854b86
to
4cb7875
Compare
2b9e215
to
05330c5
Compare
09aeab9
to
b0f016b
Compare
Artifacts upload triggered. View details here |
05330c5
to
e79c663
Compare
b0f016b
to
318e8f1
Compare
Artifacts upload triggered. View details here |
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 3 of 3 files at r2, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @avi-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.
Reviewed 3 of 3 files at r2, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @avi-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 r2, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @varex83)
crates/blockifier/src/execution/native/syscall_handler.rs
line 642 at r2 (raw file):
Secp256Point::new(x, y) .map(|op| op.map(|p| p.into())) .map_err(|e| self.handle_error(remaining_gas, e))
Let's be consistent with #1675 .
Suggestion:
Secp256Point::new(x, y)
.map(|option| option.map(|p| p.into()))
.map_err(|err| self.handle_error(remaining_gas, err))
crates/blockifier/src/execution/native/syscall_handler.rs
line 680 at r2 (raw file):
Secp256Point::get_point_from_x(x, y_parity) .map(|op| op.map(|p| p.into())) .map_err(|e| self.handle_error(remaining_gas, e))
Let's be consistent with #1675 .
Suggestion:
Secp256Point::get_point_from_x(x, y_parity)
.map(|option| option.map(|p| p.into()))
.map_err(|err| self.handle_error(remaining_gas, err))
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, 2 unresolved discussions (waiting on @varex83)
e79c663
to
d1de975
Compare
318e8f1
to
4020b0b
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 2 of 2 files at r4.
Reviewable status: all files reviewed (commit messages unreviewed), all discussions resolved (waiting on @varex83)
68d9518
to
a5c6ab0
Compare
4020b0b
to
1fd22d6
Compare
Artifacts upload triggered. View details here |
1fd22d6
to
d053100
Compare
a5c6ab0
to
7278639
Compare
Artifacts upload triggered. View details here |
Should go after #1675 , #1813 , #1546 , #1545
Commit history will be changed in the future, so "feat: add support for keccak syscall" will be removed