diff --git a/CHANGELOG.md b/CHANGELOG.md index 916b134..3802d86 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,26 +7,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- Exchanged `dusk-schnorr@0.18` dependency for `jubjub-schnorr@0.1` +- Exchanged `dusk-bls12_381-sign@0.6` dependency for `bls12_381-bls@0.1` + ## [0.24.0] - 2024-01-03 -## Changed +### Changed - Update dusk-poseidon -> 0.33 - Update dusk-schnorr -> 0.18 ## [0.23.0] - 2023-12-13 -## Removed +### Removed - Remove `HexDebug` trait for keys [#136] - Remove `public_key` and `view_key` methods from `SecretKey` in favor of the `From` trait [#136] - Remove `public_key` method from `ViewKey` in favor of the `From` trait [#136] -## Added +### Added - Derive `Debug` trait for keys [#136] -## Changed +### Changed - Update dusk-bls12_381 -> 0.13 - Update dusk-jubjub -> 0.14 diff --git a/Cargo.toml b/Cargo.toml index 03f0952..924198b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,10 +12,10 @@ exclude = [".github/workflows/ci.yml", ".gitignore"] rand_core = { version = "0.6", default-features = false } dusk-bytes = "0.1" dusk-bls12_381 = { version = "0.13", default-features = false } -dusk-bls12_381-sign = { version = "0.6", default-features = false } +bls12_381-bls = { version = "0.1", default-features = false } dusk-jubjub = { version = "0.14", default-features = false } dusk-poseidon = { version = "0.33", default-features = false } -dusk-schnorr = { version = "0.18", default-features = false } +jubjub-schnorr = { version = "0.1", default-features = false } subtle = { version = "^2.2.1", default-features = false } rkyv = { version = "0.7", optional = true, default-features = false } bytecheck = { version = "0.6", optional = true, default-features = false } @@ -32,9 +32,9 @@ alloc = [] rkyv-impl = [ "dusk-poseidon/rkyv-impl", "dusk-jubjub/rkyv-impl", - "dusk-schnorr/rkyv-impl", + "jubjub-schnorr/rkyv-impl", "dusk-bls12_381/rkyv-impl", - "dusk-bls12_381-sign/rkyv-impl", + "bls12_381-bls/rkyv-impl", "rkyv", "bytecheck" ] diff --git a/src/keys/secret.rs b/src/keys/secret.rs index b69f54d..1c367e9 100644 --- a/src/keys/secret.rs +++ b/src/keys/secret.rs @@ -6,8 +6,8 @@ use crate::{permutation, StealthAddress}; use dusk_jubjub::JubJubScalar; -use dusk_schnorr::SecretKey as NoteSecretKey; use ff::Field; +use jubjub_schnorr::SecretKey as NoteSecretKey; #[cfg(feature = "rkyv-impl")] use rkyv::{Archive, Deserialize, Serialize}; diff --git a/src/keys/stealth.rs b/src/keys/stealth.rs index 672dfda..fd40117 100644 --- a/src/keys/stealth.rs +++ b/src/keys/stealth.rs @@ -5,7 +5,7 @@ // Copyright (c) DUSK NETWORK. All rights reserved. use dusk_jubjub::{JubJubAffine, JubJubExtended}; -use dusk_schnorr::PublicKey as NotePublicKey; +use jubjub_schnorr::PublicKey as NotePublicKey; use dusk_bytes::{DeserializableSlice, Error, Serializable}; diff --git a/src/transaction/stake.rs b/src/transaction/stake.rs index 89b2139..bd41922 100644 --- a/src/transaction/stake.rs +++ b/src/transaction/stake.rs @@ -7,8 +7,8 @@ use alloc::vec::Vec; use crate::StealthAddress; +use bls12_381_bls::{PublicKey, Signature}; use dusk_bls12_381::BlsScalar; -use dusk_bls12_381_sign::{PublicKey, Signature}; use dusk_bytes::Serializable; #[cfg(feature = "rkyv-impl")] use rkyv::{Archive, Deserialize, Serialize};