Skip to content

Commit

Permalink
chore(deps): upgrade dependency for jf-vrf (#697)
Browse files Browse the repository at this point in the history
* update signature dep

* syntax
  • Loading branch information
mrain authored Oct 31, 2024
1 parent ca160ce commit 919e424
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
7 changes: 7 additions & 0 deletions vrf/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions vrf/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 }
Expand All @@ -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 }
Expand Down
10 changes: 1 addition & 9 deletions vrf/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 919e424

Please sign in to comment.