refactor(PR #11): rework Merkle tree layer and error type, remove sled and pmtree utilities, migrate to pmtree v3, fix override_range bug, generic PmTree<D,H> struct for any persistent backend#421
Merged
Conversation
…ted to atomic batch_set on PmTree
sydhds
requested changes
Jun 26, 2026
Benchmark for 33613a0Click to view benchmark
|
Benchmark for 33613a0Click to view benchmark
|
Benchmark for 279b96aClick to view benchmark
|
Benchmark for 279b96aClick to view benchmark
|
Benchmark for da4b690Click to view benchmark
|
Benchmark for 211657dClick to view benchmark
|
|
Coverage report uploaded. Download HTML Report |
sydhds
requested changes
Jul 1, 2026
Benchmark for fbe7b38Click to view benchmark
|
Benchmark for fbe7b38Click to view benchmark
|
|
Coverage report uploaded. Download HTML Report |
vinhtc27
force-pushed
the
refactor/pr11-merkle-tree-update
branch
from
July 2, 2026 07:05
ccf484a to
3ee3838
Compare
Benchmark for a13026bClick to view benchmark
|
Benchmark for a13026bClick to view benchmark
|
|
Coverage report uploaded. Download HTML Report |
Benchmark for afac8adClick to view benchmark
|
Benchmark for afac8adClick to view benchmark
|
|
Coverage report uploaded. Download HTML Report |
sydhds
requested changes
Jul 2, 2026
|
Coverage report uploaded. Download HTML Report |
Benchmark for a2660d4Click to view benchmark
|
Benchmark for a2660d4Click to view benchmark
|
vinhtc27
force-pushed
the
refactor/pr11-merkle-tree-update
branch
from
July 3, 2026 06:09
c0c8902 to
dccd0c2
Compare
Benchmark for f34133eClick to view benchmark
|
|
Coverage report uploaded. Download HTML Report |
Benchmark for f34133eClick to view benchmark
|
sydhds
approved these changes
Jul 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR need the this new release of pmtree vacp2p/pmtree#6
Changes: All the changes related to merkle tree impl in Zerokit
Errortype. The in-memory backends keep ZerokitMerkleTreeError, de-overloaded to one variant per condition; PmTree returns a structured PmTreeError that separates tree-logic errors (MerkleTree) from storage-backend faults (Backend), and pre-validates domain conditions so the same misuse yields the same variant on every backend. Callers match flat variants instead of nested enums (#343).- PmTree is now generic over the hash (PmTree<H> instead of a hardcoded PoseidonHash), so a future PoseidonHash2 can plug in.(Generic over both persistent backend anh hash (PmTree<D, H>)