Skip to content

Commit

Permalink
Impl #383 - Clone for PublicParameters (#384)
Browse files Browse the repository at this point in the history
  • Loading branch information
vlopes11 authored Feb 2, 2021
1 parent cae6972 commit b2c6979
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.5.1] - 02-02-21
### Changed
- Implement `Clone` for `PublicParameters` [#383](https://github.com/dusk-network/plonk/issues/383)

## [0.5.0] - 27-01-21
### Changed
- Upgrade canonical to v0.5 (#371)
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dusk-plonk"
version = "0.5.0"
version = "0.5.1"
authors = ["Kevaundray Wedderburn <[email protected]>",
"Luke Pearson <[email protected]>",
"CPerezz <[email protected]>"]
Expand Down
2 changes: 1 addition & 1 deletion src/commitment_scheme/kzg10/key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pub struct OpeningKey {
}

/// CommitKey is used to commit to a polynomial which is bounded by the max_degree.
#[derive(Debug, PartialEq)]
#[derive(Debug, Clone, PartialEq)]
pub struct CommitKey {
/// Group elements of the form `{ \beta^i G }`, where `i` ranges from 0 to `degree`.
pub powers_of_g: Vec<G1Affine>,
Expand Down
2 changes: 1 addition & 1 deletion src/commitment_scheme/kzg10/srs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use serde::{self, Deserialize, Deserializer, Serialize, Serializer};
/// The Public Parameters can also be referred to as the Structured Reference String (SRS).
/// It is available to both the prover and verifier and allows the verifier to
/// efficiently verify and make claims about polynomials up to and including a configured degree.
#[derive(Debug)]
#[derive(Debug, Clone)]
pub struct PublicParameters {
/// Key used to generate proofs for composed circuits.
pub commit_key: CommitKey,
Expand Down

0 comments on commit b2c6979

Please sign in to comment.