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 int64 overflow error for height comparison #7944

Merged
merged 3 commits into from
Nov 17, 2020

Conversation

bluele
Copy link
Contributor

@bluele bluele commented Nov 16, 2020

Description

This PR fixes int64 overflow error for height comparison in 02-client.

closes: #XXXX


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Code follows the module structure standards.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer
  • Review Codecov Report in the comment section below once CI passes

@codecov
Copy link

codecov bot commented Nov 16, 2020

Codecov Report

Merging #7944 (cf37de4) into master (10d5ce3) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #7944      +/-   ##
==========================================
- Coverage   54.14%   54.14%   -0.01%     
==========================================
  Files         612      612              
  Lines       39029    39027       -2     
==========================================
- Hits        21134    21132       -2     
  Misses      15720    15720              
  Partials     2175     2175              

@bluele bluele force-pushed the fix-overflow-height-comparison branch from df1c59a to 1c5604d Compare November 16, 2020 14:19
Copy link
Collaborator

@fedekunze fedekunze left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@colin-axner colin-axner left a comment

Choose a reason for hiding this comment

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

thanks for finding/fixing this!

@fedekunze fedekunze added the A:automerge Automatically merge PR once all prerequisites pass. label Nov 17, 2020
@mergify mergify bot merged commit f962f3a into cosmos:master Nov 17, 2020
Copy link
Contributor

@cwgoes cwgoes left a comment

Choose a reason for hiding this comment

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

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:automerge Automatically merge PR once all prerequisites pass.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants