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

Refactored MMR to Use Iteractors instead of Arrays #43

Merged

Conversation

Krayt78
Copy link
Contributor

@Krayt78 Krayt78 commented Nov 27, 2024

Refactored MMR to Use Iteractors instead of Arrays, I updated the current test suite to be compatible but havent added more tests so coverage will be lower.
I added a struct LeafIterator for ease of use but it might look ugly in the tests since we end up calling it with MerkleMountainRange.LeafIterator, but again they are just tests so i guess its fine.

@Krayt78
Copy link
Contributor Author

Krayt78 commented Nov 27, 2024

Hmm looks like we might not use the same OS so the commit diff shows that the whole file has been changed, thats gonna be annoying :/

Copy link
Member

@seunlanlege seunlanlege left a comment

Choose a reason for hiding this comment

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

LGTM

@Krayt78 Krayt78 requested a review from seunlanlege December 9, 2024 13:52
@seunlanlege seunlanlege merged commit 93b47e7 into polytope-labs:main Dec 9, 2024
2 checks passed
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.

2 participants