Skip to content

Commit a1e076f

Browse files
committed
Merge remote-tracking branch 'origin/main' into naor/feat/add_math_cairo_test
2 parents 9725e48 + 9528e66 commit a1e076f

7 files changed

Lines changed: 5 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Both branches support Stwo prover opcodes (Blake2s, QM31) since v2.0.0.
1212

1313
#### Upcoming Changes
1414
* feat: add math Cairo test suite under `vm/src/tests/cairo_test_suite` using the `test_utils` feature flag [#2379](https://github.com/starkware-libs/cairo-vm/pull/2379)
15+
* fix: decrease spamming logs level to trace [#2385](https://github.com/starkware-libs/cairo-vm/pull/2385)
1516

1617
* feat: add `test_helpers` module (`error_utils`, `test_utils`) with `assert_mr_eq`, `load_cairo_program!` macro and `expect_*` error checkers, behind `test_utils` feature flag [#2381](https://github.com/starkware-libs/cairo-vm/pull/2381)
1718

vm/src/tests/cairo_test_suite/test_math/math_test.cairo renamed to vm/src/tests/cairo_test_suite/common/math_test.cairo

File renamed without changes.

vm/src/tests/cairo_test_suite/test_math/math_test_utils.rs renamed to vm/src/tests/cairo_test_suite/common/math_test_utils.rs

File renamed without changes.
File renamed without changes.

vm/src/tests/cairo_test_suite/test_math/test_math_cairo.rs renamed to vm/src/tests/cairo_test_suite/common/test_math_cairo.rs

File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#[cfg(feature = "test_utils")]
2-
mod test_math;
2+
mod common;

vm/src/vm/runners/cairo_runner.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ use super::{
5757
cairo_pie::{self, CairoPie, CairoPieMetadata, CairoPieVersion},
5858
};
5959
use crate::types::instance_definitions::mod_instance_def::ModInstanceDef;
60-
use tracing::info;
60+
use tracing::{info, trace};
6161

6262
pub const ORDERED_BUILTIN_LIST: &[BuiltinName] = &[
6363
BuiltinName::output,
@@ -1004,15 +1004,15 @@ impl CairoRunner {
10041004
return Err(RunnerError::EndRunCalledTwice.into());
10051005
}
10061006

1007-
info!("Relocating memory.");
1007+
trace!("Relocating memory.");
10081008
self.vm.segments.memory.relocate_memory()?;
10091009
self.vm.end_run(&self.exec_scopes, fill_holes)?;
10101010

10111011
if disable_finalize_all {
10121012
return Ok(());
10131013
}
10141014

1015-
info!("Computing effective sizes of segments.");
1015+
trace!("Computing effective sizes of segments.");
10161016
self.vm.segments.compute_effective_sizes();
10171017
if self.is_proof_mode() && !disable_trace_padding {
10181018
info!("in proof mode and enabling trace padding, running until next power of 2.");

0 commit comments

Comments
 (0)