From 4fad1b4c9f9f615db7c5c998d70cf5fe1f4938f8 Mon Sep 17 00:00:00 2001 From: Dmitry Demin Date: Thu, 16 May 2024 16:21:22 +0200 Subject: [PATCH 1/2] Update CHANGELOG.md with changes for note plaintext size generalization --- CHANGELOG.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cedc180..e1ab568 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,15 @@ and this library adheres to Rust's notion of [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Changed +- Generalized note plaintext size to support variable note sizes, including + AssetId for ZSA notes. Moved constants into `Domain` trait implementations + (e.g., `OrchardDomain`, `Sapling`). +- Added abstract types `NotePlaintextBytes`, `NoteCiphertextBytes`, + `CompactNotePlaintextBytes`, and `CompactNoteCiphertextBytes` to `Domain` + trait. +- Updated function signatures to remove constants that are unknown at + compilation time. ## [0.4.0] - 2023-06-06 ### Changed From c2675553721bb06b8fcabbbdf6d49f2ce1569463 Mon Sep 17 00:00:00 2001 From: Dmitry Demin Date: Thu, 16 May 2024 16:49:22 +0200 Subject: [PATCH 2/2] Improve the description in CHANGELOG.md --- CHANGELOG.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e1ab568..b464b50 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,14 +7,11 @@ and this library adheres to Rust's notion of ## [Unreleased] ### Changed -- Generalized note plaintext size to support variable note sizes, including - AssetId for ZSA notes. Moved constants into `Domain` trait implementations - (e.g., `OrchardDomain`, `Sapling`). -- Added abstract types `NotePlaintextBytes`, `NoteCiphertextBytes`, - `CompactNotePlaintextBytes`, and `CompactNoteCiphertextBytes` to `Domain` +- Generalized the note plaintext size to support variable sizes by adding the + abstract types `NotePlaintextBytes`, `NoteCiphertextBytes`, + `CompactNotePlaintextBytes`, and `CompactNoteCiphertextBytes` to the `Domain` trait. -- Updated function signatures to remove constants that are unknown at - compilation time. +- Moved the specific constants into the `Domain` trait implementations. ## [0.4.0] - 2023-06-06 ### Changed