From b0a7d0962601a3b5082179f724c79da1dc1b3777 Mon Sep 17 00:00:00 2001 From: xevisalle Date: Wed, 5 Apr 2023 12:54:19 +0200 Subject: [PATCH 1/3] Derive `Default` for StealthAddress --- src/keys/spend/stealth.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keys/spend/stealth.rs b/src/keys/spend/stealth.rs index 2145750..48117a8 100644 --- a/src/keys/spend/stealth.rs +++ b/src/keys/spend/stealth.rs @@ -19,7 +19,7 @@ use rkyv::{Archive, Deserialize, Serialize}; /// system. /// A `StealthAddress` is composed by a one-time public key (`pk_r`, the actual // address) and a random point `R`. -#[derive(HexDebug, Clone, Copy)] +#[derive(Default, HexDebug, Clone, Copy)] #[cfg_attr(feature = "canon", derive(Canon))] #[cfg_attr( feature = "rkyv-impl", From dd29f1ccc9ad0f801941950d75d331f1da02e4cb Mon Sep 17 00:00:00 2001 From: xevisalle Date: Wed, 5 Apr 2023 13:01:15 +0200 Subject: [PATCH 2/3] Update CHANGELOG --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7335d03..5b6cda8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added + +- Derive `Default` for `StealthAddress` + ## [0.11.3] - 2022-12-19 ### Added From 59d75114860d08f9ecdef1418f42d417352eade4 Mon Sep 17 00:00:00 2001 From: xevisalle Date: Wed, 5 Apr 2023 13:09:24 +0200 Subject: [PATCH 3/3] Bump to version `0.11.4` --- CHANGELOG.md | 5 ++++- Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b6cda8..83b9358 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.11.4] - 2023-04-05 + ### Added - Derive `Default` for `StealthAddress` @@ -148,7 +150,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [#38]: https://github.com/dusk-network/dusk-pki/issues/38 [#36]: https://github.com/dusk-network/dusk-pki/issues/36 [#34]: https://github.com/dusk-network/dusk-pki/issues/34 -[Unreleased]: https://github.com/dusk-network/dusk-pki/compare/v0.11.3...HEAD +[Unreleased]: https://github.com/dusk-network/dusk-pki/compare/v0.11.4...HEAD +[0.11.4]: https://github.com/dusk-network/dusk-pki/compare/v0.11.3...v0.11.4 [0.11.3]: https://github.com/dusk-network/dusk-pki/compare/v0.11.2...v0.11.3 [0.11.2]: https://github.com/dusk-network/dusk-pki/compare/v0.11.1...v0.11.2 [0.11.1]: https://github.com/dusk-network/dusk-pki/compare/v0.11.0...v0.11.1 diff --git a/Cargo.toml b/Cargo.toml index a0457db..3995e2f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dusk-pki" -version = "0.11.3" +version = "0.11.4" authors = ["zer0 ", "Victor Lopez "] edition = "2021"