refactor: make CommitmentKeyExtTrait public (#200)

Allows generic programming on Nova curve cycles.
This commit is contained in:
François Garillot
2023-07-12 17:51:59 -04:00
committed by GitHub
parent ac8db99835
commit dd44a7a9d0

View File

@@ -203,7 +203,9 @@ impl<G: Group> CommitmentEngineTrait<G> for CommitmentEngine<G> {
}
}
pub(crate) trait CommitmentKeyExtTrait<G: Group> {
/// A trait listing properties of a commitment key that can be managed in a divide-and-conquer fashion
pub trait CommitmentKeyExtTrait<G: Group> {
/// Holds the type of the commitment engine
type CE: CommitmentEngineTrait<G>;
/// Splits the commitment key into two pieces at a specified point