Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev: make items public #185

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/src/core.cairo
Original file line number Diff line number Diff line change
@@ -1 +1 @@
mod circuit;
pub mod circuit;
18 changes: 9 additions & 9 deletions src/src/lib.cairo
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
mod definitions;
mod utils;
mod ec_ops;
mod pairing_check;
mod circuits;
mod groth16;
mod basic_field_ops;
pub mod definitions;
pub mod utils;
pub mod ec_ops;
pub mod pairing_check;
pub mod circuits;
pub mod groth16;
pub mod basic_field_ops;
mod tests;
mod core;
mod risc0_utils;
pub mod core;
pub mod risc0_utils;


#[cfg(test)]
Expand Down
3 changes: 2 additions & 1 deletion src/src/utils.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ struct PoseidonState {
s2: felt252,
}


// Returns true if all limbs of x are zero, false otherwise.
fn u384_eq_zero(x: u384) -> bool {
pub fn u384_eq_zero(x: u384) -> bool {
if x.limb0 != 0 {
return false;
}
Expand Down
Loading