-
Notifications
You must be signed in to change notification settings - Fork 28
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
chore: fix clippy for version 0.1.81 #2371
Conversation
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.
This PR is a replica of #2365 except for one difference. This PR does not include a disable of one part of the CI.
Reviewable status: 0 of 30 files reviewed, all discussions resolved (waiting on @dorimedini-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 30 of 30 files at r1, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @ArniStarkware)
crates/sequencing/papyrus_consensus_orchestrator/src/sequencer_consensus_context.rs
line 244 at r1 (raw file):
Some(h) => h < height, None => true, } {
wonder why clippy thinks this is better
Code quote:
if match self.current_height {
Some(h) => h < height,
None => true,
} {
.github/workflows/papyrus_docker-publish.yml.disabled
line 0 at r1 (raw file):
why was this renamed?
Artifacts upload workflows: |
0c5a30e
to
ab84b23
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 1 files at r2, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @ArniStarkware)
Previously, dorimedini-starkware wrote…
|
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 @ArniStarkware)
crates/sequencing/papyrus_consensus_orchestrator/src/sequencer_consensus_context.rs
line 244 at r2 (raw file):
Some(h) => h < height, None => true, } {
how about this?
Suggestion:
if self.current_height.map(|h| h < height).unwrap_or(true) {
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 @ArniStarkware)
.github/workflows/papyrus_docker-publish.yml.disabled
line at r1 (raw file):
Previously, dorimedini-starkware wrote…
why was this renamed?
In the current revision 2 of this PR, there is no rename.
Now this PR is actually different than #2365
ab84b23
to
e0ff236
Compare
Previously, dorimedini-starkware wrote…
Done. |
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 r3, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @ArniStarkware)
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2371 +/- ##
===========================================
+ Coverage 40.10% 53.98% +13.88%
===========================================
Files 26 256 +230
Lines 1895 29247 +27352
Branches 1895 29247 +27352
===========================================
+ Hits 760 15790 +15030
- Misses 1100 12293 +11193
- Partials 35 1164 +1129 ☔ View full report in Codecov by Sentry. |
No description provided.