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

Empty Merkle tree hash fix #557

Merged
merged 2 commits into from
Sep 9, 2020
Merged

Empty Merkle tree hash fix #557

merged 2 commits into from
Sep 9, 2020

Conversation

greg-szabo
Copy link
Member

Closes #540 .

Re-introduces the fix for empty Merkle tree hashing. This was created by Ismail before but it was pulled for the v0.16.0 release. We need it for 0.17.

  • Referenced an issue explaining the need for the change
  • Updated all relevant documentation in docs
  • Updated all code comments where relevant
  • Wrote tests
  • Updated CHANGELOG.md

@greg-szabo greg-szabo requested a review from liamsi September 8, 2020 15:13
Copy link
Member

@liamsi liamsi left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@greg-szabo greg-szabo merged commit 2cb3afb into master Sep 9, 2020
@greg-szabo greg-szabo deleted the greg/revert-538 branch September 9, 2020 00:22
@ebuchman
Copy link
Member

It bothers me that there's no integration test in the repo that would care about this. I guess that's because we don't have any tests with blocks that have txs or evidence? might be good to add a simple one for a block with some txs where we validate the header.

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.

Revert the temporary revert in #538
3 participants