Skip to content

Conversation

@iamrecursion
Copy link
Collaborator

@iamrecursion iamrecursion commented Dec 10, 2025

Describe your changes

This is a container for the in-memory portion of each tree in the forest, and provides functionality to rebuild the prefix at startup from provided restoration data.

Much like for #700, a few places in the current code are marked as #[allow(dead_code)]. This is to prevent warnings from failing the build while still allowing the private code to be merged incrementally.

I also argue that, as this is internal code, it does not require a changelog entry. Please let me know if you disagree.

Checklist before requesting a review

  • Repo forked and branch created from next according to naming convention.
  • Commit messages and codestyle follow conventions.
  • Relevant issues are linked in the PR description.
  • Tests added for new functionality.
  • Documentation/comments updated according to changes.

@iamrecursion iamrecursion self-assigned this Dec 10, 2025
@iamrecursion iamrecursion added no changelog This PR does not require an entry in the `CHANGELOG.md` file merkle Related to Merkle trees or MMRs labels Dec 10, 2025
@iamrecursion iamrecursion force-pushed the forest-prefix-container branch 2 times, most recently from fd62876 to 0ec04b6 Compare December 10, 2025 14:07
@iamrecursion iamrecursion changed the title feat(SmtForest) Implement the Prefix type Implement the Prefix type for the new forest Dec 10, 2025
@iamrecursion iamrecursion marked this pull request as ready for review December 10, 2025 14:30
@iamrecursion iamrecursion mentioned this pull request Dec 10, 2025
5 tasks
@iamrecursion iamrecursion force-pushed the forest-storage-interface branch from 84056a0 to 5556cd8 Compare December 29, 2025 09:37
@iamrecursion iamrecursion force-pushed the forest-prefix-container branch 4 times, most recently from 4f7e0cc to cf9f2d9 Compare December 29, 2025 16:29
@iamrecursion iamrecursion force-pushed the forest-storage-interface branch from 5556cd8 to 6ada5f6 Compare January 6, 2026 09:29
@iamrecursion iamrecursion force-pushed the forest-prefix-container branch from cf9f2d9 to 4a38503 Compare January 6, 2026 09:30
@iamrecursion iamrecursion force-pushed the forest-storage-interface branch from 6ada5f6 to 1571406 Compare January 7, 2026 10:18
@iamrecursion iamrecursion force-pushed the forest-prefix-container branch from 4a38503 to b504714 Compare January 7, 2026 10:18
@iamrecursion iamrecursion force-pushed the forest-storage-interface branch from 1571406 to 416bd71 Compare January 8, 2026 11:28
This is a container for the in-memory portion of each tree in the
forest, and provides functionality to rebuild the prefix at startup from
provided restoration data.
@iamrecursion iamrecursion force-pushed the forest-prefix-container branch from b504714 to e68fe44 Compare January 8, 2026 11:28
@iamrecursion
Copy link
Collaborator Author

Closing in favour of an upcoming PR with a different approach.

@iamrecursion iamrecursion deleted the forest-prefix-container branch January 8, 2026 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merkle Related to Merkle trees or MMRs no changelog This PR does not require an entry in the `CHANGELOG.md` file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants