diff --git a/vrf/CHANGELOG.md b/vrf/CHANGELOG.md index 012b2865c..f9f523801 100644 --- a/vrf/CHANGELOG.md +++ b/vrf/CHANGELOG.md @@ -3,6 +3,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.2.0](https://github.com/EspressoSystems/jellyfish/compare/0.4.5...jf-vrf-v0.2.0) (2024-10-31) + +### Changed + +- [#697](https://github.com/EspressoSystems/jellyfish/pull/697): upgrade `jf-signature` dependency to 0.2.0. + - Secret keys are not required to be serde Serializable. + ## 0.1.0 - Initial release. diff --git a/vrf/Cargo.toml b/vrf/Cargo.toml index 53420505e..7996b5063 100644 --- a/vrf/Cargo.toml +++ b/vrf/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jf-vrf" -version = "0.1.0" +version = "0.2.0" description = "Verifiable random function." authors = { workspace = true } edition = { workspace = true } @@ -14,7 +14,7 @@ repository = { workspace = true } ark-std = { workspace = true } digest = { version = "0.10.1", default-features = false, features = ["alloc"] } displaydoc = { workspace = true } -jf-signature = { version = "0.1.0", git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", default-features = false, features = [ "bls" ] } +jf-signature = { git = "https://github.com/EspressoSystems/jellyfish", tag = "jf-signature-v0.2.0", default-features = false, features = [ "bls" ] } serde = { workspace = true } sha2 = { workspace = true } zeroize = { version = "1.5", default-features = false } diff --git a/vrf/src/lib.rs b/vrf/src/lib.rs index 107b547f9..830bbe9cf 100644 --- a/vrf/src/lib.rs +++ b/vrf/src/lib.rs @@ -40,15 +40,7 @@ pub trait Vrf { + Eq; /// VRF secret key. - type SecretKey: Debug - + Clone - + Send - + Sync - + Zeroize - + for<'a> Deserialize<'a> - + Serialize - + PartialEq - + Eq; + type SecretKey: Debug + Clone + Send + Sync + Zeroize + PartialEq + Eq; /// VRF signature. type Proof: Debug + Clone + Send + Sync + for<'a> Deserialize<'a> + Serialize + PartialEq + Eq;