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

store: add test cases for hashing of empty inputs #7004

Merged
merged 1 commit into from
Aug 11, 2020

Conversation

erikgrinaker
Copy link
Contributor

@erikgrinaker erikgrinaker commented Aug 11, 2020

This adds test cases for hashing of empty inputs. This behavior will change in a breaking manner when upgrading to Tendermint 0.34, due to tendermint/tendermint#5193 which was just merged to master. Test cases will need to be updated when that happens. A similar change was made to IAVL in cosmos/iavl#304.

@erikgrinaker
Copy link
Contributor Author

erikgrinaker commented Aug 11, 2020

@marbar3778 Can you make sure these tests are preserved and updated in the Tendermint upgrade branch? I noticed that this file has been moved on that branch, so take care when resolving conflicts.

@codecov
Copy link

codecov bot commented Aug 11, 2020

Codecov Report

Merging #7004 into master will decrease coverage by 2.77%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #7004      +/-   ##
==========================================
- Coverage   61.86%   59.09%   -2.78%     
==========================================
  Files         520      363     -157     
  Lines       32108    21432   -10676     
==========================================
- Hits        19865    12666    -7199     
+ Misses      10628     7722    -2906     
+ Partials     1615     1044     -571     

@erikgrinaker erikgrinaker added the A:automerge Automatically merge PR once all prerequisites pass. label Aug 11, 2020
@tac0turtle tac0turtle merged commit 7a0d5ff into master Aug 11, 2020
@tac0turtle tac0turtle deleted the erik/empty-hash-tests branch August 11, 2020 11:10
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. T: Tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants