Skip to content

Commit

Permalink
is first and row bounds relaxations
Browse files Browse the repository at this point in the history
  • Loading branch information
ohad-starkware committed Dec 5, 2024
1 parent 709af91 commit f68fbdc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions stwo_cairo_prover/crates/prover/src/cairo_air/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ use tracing::{span, Level};

use crate::input::CairoInput;

const LOG_MAX_ROWS: u32 = 20;
const LOG_MAX_ROWS: u32 = 22;

const IS_FIRST_LOG_SIZES: [u32; 16] = [19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4];
const IS_FIRST_LOG_SIZES: [u32; 19] = [
22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4,
];
pub fn prove_cairo(input: CairoInput) -> Result<CairoProof<Blake2sMerkleHasher>, ProvingError> {
let _span = span!(Level::INFO, "prove_cairo").entered();
let config = PcsConfig::default();
Expand Down
3 changes: 2 additions & 1 deletion stwo_cairo_prover/crates/prover/src/components/memory/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
pub mod memory_address_to_id;
pub mod memory_id_to_big;

pub const LOG_MEMORY_ADDRESS_BOUND: u32 = 20;
/// Used for sanity checks and assertions.
pub const LOG_MEMORY_ADDRESS_BOUND: u32 = 27;
pub const MEMORY_ADDRESS_BOUND: usize = 1 << LOG_MEMORY_ADDRESS_BOUND;

#[cfg(test)]
Expand Down

0 comments on commit f68fbdc

Please sign in to comment.