Skip to content
This repository has been archived by the owner on Aug 5, 2019. It is now read-only.

[ETHDenver] Fix merkleisation bug #47

Merged
merged 1 commit into from
Feb 16, 2019
Merged

Conversation

wemeetagain
Copy link
Member

See ethereum/consensus-specs#602

Previously, we were adding zeroed chunks at intermediate levels as needed to fill in the merkle tree.
Now, we add zeroed chunks up-front as leaf nodes.

Most LOC added here are helper functions to determine the # of zeroed chunks to add.

@wemeetagain wemeetagain requested review from ansermino, GregTheGreek and a team February 16, 2019 06:22
@GregTheGreek GregTheGreek merged commit 0d93bf6 into master Feb 16, 2019
@wemeetagain wemeetagain deleted the fix-merkleisation-bug branch February 16, 2019 20:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants