-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor by adding nova_scotia_types.rs
- Loading branch information
1 parent
4e0aa50
commit 61eab82
Showing
4 changed files
with
17 additions
and
22 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 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 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,5 +1,7 @@ | ||
extern crate core; | ||
|
||
mod nova_scotia_types; | ||
|
||
// First, configure the Mopro FFI library | ||
mopro_ffi::app!(); | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
pub use std::{collections::HashMap, path::PathBuf}; | ||
pub use serde_json::Value; | ||
pub use nova_snark::{ | ||
traits::{circuit::TrivialTestCircuit, Group}, | ||
provider, PublicParams, RecursiveSNARK, | ||
}; | ||
pub use nova_scotia::circom::circuit::{Constraint, R1CS, CircomCircuit}; | ||
|
||
pub type F<G> = <G as Group>::Scalar; | ||
pub type P1 = provider::bn256_grumpkin::bn256::Point; | ||
pub type P2 = provider::bn256_grumpkin::grumpkin::Point; | ||
pub type C1<G> = CircomCircuit<<G as Group>::Scalar>; | ||
pub type C2<G> = TrivialTestCircuit<<G as Group>::Scalar>; |