pod2/examples
Eduard S. 813a86c670
Remove max_depth in native MerkleTree (#442)
This simplifies the MerkleTree (and container) API.
Defer the max depth check when assigning the witness (merkle proof siblings) to the merkle tree circuit.

In this implementation the native Merkle Tree branches grow as much as they needed.  There are no checks of max depth in the merkle tree.  All keys are 256 bits (I added a debug_assert for this); so in the worst case a path will have depth 256.  It can't have a longer depth because the `insert` method calls `prove_nonexistence` which errors if the key already exists; another one may exist which must be different and thus require a path <= 256 depth. 

Resolve #436
2025-12-16 13:18:49 +01:00
..
main_pod_points.rs Remove max_depth in native MerkleTree (#442) 2025-12-16 13:18:49 +01:00
signed_dict.rs Remove max_depth in native MerkleTree (#442) 2025-12-16 13:18:49 +01:00