Skip to content

Commit

Permalink
Merge pull request #111 from dusk-network/mocello/100_generator
Browse files Browse the repository at this point in the history
Fix GENERATOR
  • Loading branch information
moCello authored May 22, 2023
2 parents ce28729 + 64df1c6 commit 458bf7a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
5 changes: 5 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]

### Removed

- Remove scalar field generator [#100]

## [0.11.3] - 2023-05-17

### Changed
Expand Down Expand Up @@ -181,6 +185,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Rename `S` to `TWO_ADACITY` and export it

<!-- Issues -->
[#100]: (https://github.com/dusk-network/bls12_381/issues/100)
[#93]: (https://github.com/dusk-network/bls12_381/issues/93)
[#75]: (https://github.com/dusk-network/bls12_381/issues/75)
[#84]: (https://github.com/dusk-network/bls12_381/issues/84)
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ mod choice;
mod scalar;

pub use scalar::Scalar as BlsScalar;
pub use scalar::{GENERATOR, ROOT_OF_UNITY, TWO_ADACITY};
pub use scalar::{ROOT_OF_UNITY, TWO_ADACITY};

#[cfg(feature = "rkyv-impl")]
pub use scalar::{ArchivedScalar as ArchivedBlsScalar, ScalarResolver as BlsScalarResolver};
Expand Down
3 changes: 0 additions & 3 deletions src/scalar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -353,9 +353,6 @@ pub const ROOT_OF_UNITY: Scalar = Scalar([
0x5bf3adda19e9b27b,
]);

/// Generator of the Scalar field
pub const GENERATOR: Scalar = Scalar([7, 0, 0, 0]);

impl<T> Product<T> for Scalar
where
T: Borrow<Scalar>,
Expand Down

0 comments on commit 458bf7a

Please sign in to comment.