Skip to content

Commit

Permalink
Reorganize folders.
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyalesokhin-starkware committed Dec 16, 2024
1 parent 7cda037 commit 33abac8
Show file tree
Hide file tree
Showing 32 changed files with 35 additions and 34 deletions.
2 changes: 1 addition & 1 deletion stwo_cairo_verifier/Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name = "bounded_int"
version = "0.1.0"

[[package]]
name = "stwo_cairo_verifier"
name = "stwo_verifier_core"
version = "0.1.0"
dependencies = [
"bounded_int",
Expand Down
22 changes: 4 additions & 18 deletions stwo_cairo_verifier/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,19 +1,5 @@
[workspace]
members = ["bounded_int"]

[package]
name = "stwo_cairo_verifier"
version = "0.1.0"
edition = "2024_07"

[lib]
casm = true

[tool.fmt]
sort-module-level-items = true

[dependencies]
bounded_int = { path = "bounded_int" }

[dev-dependencies]
cairo_test = "2.9.2"
members = [
"crates/bounded_int",
"crates/verifier_core",
]
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
//! Utility crate that exports internal corelib function.
//! This crate is compiled with an older edition that does not enforce visibity rules.

use core::integer::upcast;
use core::internal::bounded_int::{
BoundedInt, add, constrain, div_rem, sub, AddHelper, ConstrainHelper, DivRemHelper, SubHelper,
AddHelper, BoundedInt, ConstrainHelper, DivRemHelper, SubHelper, add, constrain, div_rem, sub,
};

use core::integer::upcast;
Empty file.
16 changes: 16 additions & 0 deletions stwo_cairo_verifier/crates/verifier_core/Scarb.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[package]
name = "stwo_verifier_core"
version = "0.1.0"
edition = "2024_07"

[lib]
casm = true

[tool.fmt]
sort-module-level-items = true

[dependencies]
bounded_int = { path = "../bounded_int" }

[dev-dependencies]
cairo_test = "2.9.2"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
use stwo_cairo_verifier::channel::ChannelImpl;
use stwo_cairo_verifier::circle::{
use stwo_verifier_core::channel::ChannelImpl;
use stwo_verifier_core::circle::{
CirclePoint, CirclePointIndexImpl, CirclePointQM31AddCirclePointM31Impl,
};
use stwo_cairo_verifier::fields::qm31::{QM31, QM31Impl, QM31One, QM31Zero};
use stwo_cairo_verifier::fri::FriConfig;
use stwo_cairo_verifier::pcs::PcsConfig;
use stwo_cairo_verifier::pcs::verifier::CommitmentSchemeVerifierImpl;
use stwo_cairo_verifier::poly::circle::CanonicCosetImpl;
use stwo_cairo_verifier::utils::ArrayImpl;
use stwo_cairo_verifier::verifier::{Air, verify};
use stwo_cairo_verifier::{ColumnArray, TreeArray};
use stwo_verifier_core::fields::qm31::{QM31, QM31Impl, QM31One, QM31Zero};
use stwo_verifier_core::fri::FriConfig;
use stwo_verifier_core::pcs::PcsConfig;
use stwo_verifier_core::pcs::verifier::CommitmentSchemeVerifierImpl;
use stwo_verifier_core::poly::circle::CanonicCosetImpl;
use stwo_verifier_core::utils::ArrayImpl;
use stwo_verifier_core::verifier::{Air, verify};
use stwo_verifier_core::{ColumnArray, TreeArray};

mod proofs;

Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit 33abac8

Please sign in to comment.