-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: remove proof/commitment types in favor of aliases (#37)
- Loading branch information
1 parent
72be825
commit 6e939b2
Showing
6 changed files
with
12 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
use crate::bls; | ||
|
||
mod commitment; | ||
mod poly; | ||
mod proof; | ||
mod setup; | ||
|
||
pub type Proof = bls::P1; | ||
pub type Commitment = bls::P1; | ||
|
||
pub enum Error { | ||
Bls(bls::Error), | ||
} | ||
|
||
pub(crate) use poly::Polynomial; | ||
|
||
pub use commitment::Commitment; | ||
pub use proof::Proof; | ||
pub use setup::Setup; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters