Skip to content
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

Fix latest clippy assertion failures #910

Merged
merged 11 commits into from
Jun 22, 2021
Merged

Conversation

thanethomson
Copy link
Contributor

@thanethomson thanethomson commented Jun 21, 2021

Closes #909

  • Referenced an issue explaining the need for the change
  • Updated all relevant documentation in docs
  • Updated all code comments where relevant
  • Wrote tests
  • Added entry in .changelog/

@codecov-commenter
Copy link

codecov-commenter commented Jun 21, 2021

Codecov Report

Merging #910 (e034c49) into master (795e3bd) will decrease coverage by 0.0%.
The diff coverage is 86.2%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master    #910     +/-   ##
========================================
- Coverage    70.7%   70.7%   -0.1%     
========================================
  Files         203     203             
  Lines       16217   16222      +5     
========================================
- Hits        11478   11470      -8     
- Misses       4739    4752     +13     
Impacted Files Coverage Δ
tendermint/src/serializers/time.rs 100.0% <ø> (ø)
tendermint/src/vote.rs 74.3% <0.0%> (ø)
test/src/pipe.rs 76.8% <33.3%> (ø)
tendermint/src/time.rs 93.2% <66.6%> (ø)
light-client/src/supervisor.rs 90.6% <100.0%> (-0.1%) ⬇️
proto/src/serializers/timestamp.rs 96.3% <100.0%> (ø)
proto/tests/unit.rs 90.3% <100.0%> (+1.6%) ⬆️
rpc/src/endpoint/consensus_state.rs 71.0% <100.0%> (ø)
rpc/tests/parse_response.rs 98.0% <100.0%> (ø)
tendermint/src/public_key.rs 67.5% <100.0%> (ø)
... and 9 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 795e3bd...e034c49. Read the comment docs.

@thanethomson thanethomson requested a review from xla June 21, 2021 21:14
@thanethomson thanethomson marked this pull request as ready for review June 21, 2021 21:14
Copy link
Contributor

@xla xla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚅 💧 🅿️ 🍣

@@ -51,7 +51,8 @@ serde_derive = "1.0.106"
sled = { version = "0.34.3", optional = true }
static_assertions = "1.1.0"
thiserror = "1.0.15"
tokio = { version = "1.0", features = ["rt"], optional = true }
# TODO(thane): Unpin this version once Tokio fixes the documentation compiling problem in v1.7+.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have a tracking issue for this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, just added #911 👍

@thanethomson thanethomson merged commit 1b3464e into master Jun 22, 2021
@thanethomson thanethomson deleted the thane/909-fix-clippy branch June 22, 2021 11:04
thanethomson added a commit that referenced this pull request Jun 22, 2021
thanethomson added a commit that referenced this pull request Jun 22, 2021
* Fix changelog entry formatting

Signed-off-by: Thane Thomson <[email protected]>

* Add link to changelog entry

Signed-off-by: Thane Thomson <[email protected]>

* Prepare v0.20.0 changelog

Signed-off-by: Thane Thomson <[email protected]>

* Expand crate name for clarity

Signed-off-by: Thane Thomson <[email protected]>

* Fix summary wording

Signed-off-by: Thane Thomson <[email protected]>

* Fix missing closing brace

Signed-off-by: Thane Thomson <[email protected]>

* Build changelog

Signed-off-by: Thane Thomson <[email protected]>

* Remove tendermint-light-node from release script

Signed-off-by: Thane Thomson <[email protected]>

* Bump versions to v0.20.0

Signed-off-by: Thane Thomson <[email protected]>

* Update .changelog to reflect incoming changes from #910

Signed-off-by: Thane Thomson <[email protected]>

* Remove superfluous breaking changes references

Signed-off-by: Thane Thomson <[email protected]>

* Rebuild changelog

Signed-off-by: Thane Thomson <[email protected]>

* Add dates to releases

Signed-off-by: Thane Thomson <[email protected]>

* Rebuild changelog

Signed-off-by: Thane Thomson <[email protected]>

* Update .changelog/v0.20.0/summary.md

Co-authored-by: Alexander Simmerl <[email protected]>

* Update .changelog/v0.20.0/summary.md

Co-authored-by: Alexander Simmerl <[email protected]>

* Rebuild changelog

Signed-off-by: Thane Thomson <[email protected]>

* Update .changelog/v0.20.0/summary.md

* Rebuild changelog

Signed-off-by: Thane Thomson <[email protected]>

Co-authored-by: Alexander Simmerl <[email protected]>
@mzabaluev mzabaluev mentioned this pull request Nov 26, 2021
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New clippy errors with Rust 1.53
3 participants