Check out the Issue Explorer
Looking to fund some work? You can submit a new Funded Issue here.
The fixed height tree feature that was added in #82 is not caching duplicated branches of the tree efficiently. When a sub-section of the tree consists of all empty leafs it should use a cache instead of always calculating the maximum number of leaves as shown in the sketch below.
1) The GenerateTree method should cache the maximum number of leaves.
2) Add a unit test that makes sure it does by counting the hash invocations.
This issue has a gitcoin bounty attached to it. If you'd like to start working on it, feel free to reach out to me (email@example.com) directly, join our slack channel `#bounties` on our [slack](https://centrifuge.io/slack/)