Skip to content

Commit

Permalink
chore: remove excess generality in ADVZ (#401)
Browse files Browse the repository at this point in the history
* update comments as per #389 (comment)

* add commit_only_timer test

* tidy: idiomatic construction of polys

* remove P: PolynomialCommitmentScheme from GenericAdvz

* remove V: MerkleTreeScheme from GenericAdvz

* remove type alias Advz, rename GenericAdvz -> Advz

* remove some unneeded trait bounds

* enforce only H: HasherDigest bound

* remove old comments, tidy derivations

* fmt

* type aliases for kzg

* type aliases for MerkleTreeScheme

* more use of type aliases

* fix rustdoc
  • Loading branch information
ggutoski authored Nov 10, 2023
1 parent 11c7829 commit 716a125
Show file tree
Hide file tree
Showing 4 changed files with 205 additions and 233 deletions.
2 changes: 1 addition & 1 deletion primitives/src/pcs/univariate_kzg/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ use srs::{UnivariateProverParam, UnivariateUniversalParams, UnivariateVerifierPa
pub(crate) mod srs;

/// KZG Polynomial Commitment Scheme on univariate polynomial.
pub struct UnivariateKzgPCS<E: Pairing> {
pub struct UnivariateKzgPCS<E> {
#[doc(hidden)]
phantom: PhantomData<E>,
}
Expand Down
Loading

0 comments on commit 716a125

Please sign in to comment.