-
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(starknet_api): the StarknetVersion type is now an enum #1376
feat(starknet_api): the StarknetVersion type is now an enum #1376
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @dorimedini-starkware and the rest of your teammates on Graphite |
24527f3
to
f6c130b
Compare
f6c130b
to
ed5e796
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1376 +/- ##
==========================================
- Coverage 74.18% 71.46% -2.73%
==========================================
Files 359 357 -2
Lines 36240 38149 +1909
Branches 36240 38149 +1909
==========================================
+ Hits 26886 27262 +376
- Misses 7220 8770 +1550
+ Partials 2134 2117 -17
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
82c1ffa
to
5f65a5e
Compare
e8e7154
to
660f811
Compare
660f811
to
3e08742
Compare
3e08742
to
2a06947
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 5 of 8 files at r1, 1 of 2 files at r2, 2 of 2 files at r3, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @dorimedini-starkware)
crates/starknet_api/src/block.rs
line 135 at r3 (raw file):
type Error = StarknetApiError; fn try_from(starknet_version: &str) -> Result<Self, StarknetApiError> { Self::try_from(starknet_version.to_string())
Does this return Vec<u8>
?
Code quote:
to_string()
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 @dorimedini-starkware)
crates/starknet_api/src/block.rs
line 135 at r3 (raw file):
Previously, Yoni-Starkware (Yoni) wrote…
Does this return
Vec<u8>
?
no, it returns the string-serialized version, e.g. "0.13.1"
This change is