Commit Graph

12 Commits

Author SHA1 Message Date
Jack Grigg 1be56990bc Merge branch 'main' into bridgetree-0.7.0 2025-06-05 17:25:28 +00:00
Jack Grigg 7d6186872e Release incrementalmerkletree-testing 0.2.0-backcompat.0.8 2025-06-05 15:58:21 +00:00
Jack Grigg dbb9c945ac incrementalmerkletree-testing: Migrate to incrementalmerkletree 0.8
This commit is equivalent to 353cf3e9ff
but backported onto `incrementalmerkletree-testing 0.1.0` so that we
can migrate `bridgetree` to `incrementalmerkletree 0.8` without needing
to overhaul its public API.
2025-06-05 15:57:45 +00:00
Kris Nuttycombe 9edc305fa1 Fix clippy beta lints 2025-01-31 13:05:18 -07:00
Kris Nuttycombe 44065917a3 Release incrementalmerkletree-testing 0.3 2025-01-30 16:52:27 -07:00
Kris Nuttycombe 353cf3e9ff Update `shardtree` to depend upon `incrementalmerkletree 0.8.0` 2024-12-11 21:30:32 -07:00
Kris Nuttycombe ae7178553e Release incrementalmerkletree-testing version 0.2.0 2024-10-04 08:14:43 -06:00
Kris Nuttycombe 518fa387d7 Use the stable incrementalmerkletree 0.7 dependency in `incrementalmerkletree-testing` and `shardtree` 2024-10-02 12:51:05 -06:00
Kris Nuttycombe 3f59900acf Apply documentation suggestions from code review
Co-authored-by: Jack Grigg <thestr4d@gmail.com>
2024-09-27 10:55:01 -06:00
Kris Nuttycombe 05f23d9763 incrementalmerkletree-testing: Always rewind to a checkpoint.
The previous semantics of the `rewind` operation would remove the last
checkpoint, if any, but would not further modify the tree. However,
these semantics are error prone - if you rewind to a checkpoint, you are
not able to rewind to the same checkpoint again; also, in practice, it
doesn't make sense to shift the location of a checkpoint in the note
commitment tree. This change alters `rewind` to (a) take an explicit
checkpoint depth, with depth `0` meaning that any state added since the
last checkpoint should be discarded, and (b) only allow a rewind
operation to succeed if a checkpoint actually exists at the specified
depth.
2024-09-26 22:34:21 -06:00
Kris Nuttycombe d663a8f64f Release incrementalmerkletree version 0.7.0, incrementalmerkletree-testing 0.1 2024-09-25 13:49:55 -06:00
Kris Nuttycombe cfc4fcbac8 Extract incrementalmerkletree::testing module to a separate `incrementalmerkletree-testing` crate. 2024-09-25 13:37:03 -06:00