zebra/zebra-state/src
teor 5324e5afd2
add(tests): Add snapshot tests for sprout database formats (#7057)
* Add methods for loading entire column families from the database

* Add a method that loads all the sprout trees from the database

* Add snapshot tests for sprout note commitment trees

* Add round-trip proptests for tree root database serialization

* Add a manual sprout note commitment tree database serialization snapshot test

* Add tests for 1,2,4,8 note commitments in a tree

* Remove redundant "rand" package rename in dependencies

* Randomly cache roots rather than only caching even roots

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-06-27 15:32:30 +00:00
..
service add(tests): Add snapshot tests for sprout database formats (#7057) 2023-06-27 15:32:30 +00:00
tests rename(state): Rename state verifiers and related code (#6762) 2023-06-01 12:29:03 +00:00
arbitrary.rs change(state): Refactor the structure of verified blocks (#7025) 2023-06-21 16:58:11 +00:00
config.rs change(db): Make the first stable release forward-compatible with planned state changes (#6813) 2023-06-06 21:18:57 +00:00
constants.rs change(db): Make the first stable release forward-compatible with planned state changes (#6813) 2023-06-06 21:18:57 +00:00
error.rs Replace a chain length assertion with a NotReadyToBeCommitted error (#7072) 2023-06-27 06:50:35 +00:00
lib.rs rename(state): Rename state verifiers and related code (#6762) 2023-06-01 12:29:03 +00:00
request.rs change(state): Refactor the structure of finalizable blocks (#7035) 2023-06-27 08:58:14 +00:00
response.rs rename(state): Rename state verifiers and related code (#6762) 2023-06-01 12:29:03 +00:00
service.rs fix(concurrency): Use Arc::into_inner() to avoid potential concurrency issues, needs Rust 1.70 (#7032) 2023-06-21 20:44:53 +00:00
tests.rs fix(diagnostics): Hex-encode debug format of commitments, nonces, and nullifiers (#5960) 2023-01-17 13:57:22 +00:00