Skip to content

Commit

Permalink
dev: make items public (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
enitrat authored Sep 2, 2024
1 parent 6c208b1 commit 956aa18
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
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

0 comments on commit 956aa18

Please sign in to comment.