File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -12,15 +12,16 @@ cairo-lang-runner.workspace = true
1212cairo-lang-casm.workspace = true
1313cairo-lang-execute-utils.workspace = true
1414clap.workspace = true
15+ num-bigint.workspace = true
1516num-traits.workspace = true
17+ regex.workspace = true
1618serde.workspace = true
1719serde_json.workspace = true
1820starknet-crypto.workspace = true
1921starknet-types-core.workspace = true
2022thiserror.workspace = true
2123thiserror-no-std.workspace = true
22- regex.workspace = true
23- num-bigint.workspace = true
24+ tracing.workspace = true
2425
2526[dev-dependencies ]
2627assert_matches = " 1.5.0"
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ use cairo_vm::types::program::Program;
44use cairo_vm:: vm:: errors:: cairo_run_errors:: CairoRunError ;
55use cairo_vm:: vm:: runners:: cairo_runner:: CairoRunner ;
66pub use hints:: * ;
7+ use tracing:: { span, Level } ;
78
89pub mod hints;
910pub mod tasks;
@@ -37,6 +38,8 @@ pub fn cairo_run_program(
3738 program_input_contents : Option < String > ,
3839 cairo_run_config : CairoRunConfig ,
3940) -> Result < CairoRunner , CairoRunError > {
41+ let _span = span ! ( Level :: INFO , "cairo_run_program" ) . entered ( ) ;
42+
4043 let mut hint_processor = BootloaderHintProcessor :: new ( ) ;
4144
4245 let mut exec_scopes = ExecutionScopes :: new ( ) ;
Original file line number Diff line number Diff line change @@ -147,6 +147,7 @@ fn stwo_run_and_prove(
147147 debug_data_dir : Option < PathBuf > ,
148148 save_debug_data : bool ,
149149) -> Result < ( ) , StwoRunAndProveError > {
150+ let _span = span ! ( Level :: INFO , "stwo_run_and_prove" ) . entered ( ) ;
150151 let cairo_run_config = get_cairo_run_config (
151152 // we don't use dynamic layout in stwo
152153 & None ,
@@ -476,7 +477,7 @@ mod tests {
476477 assert ! (
477478 file_exists( & debug_data_tempdir. path( ) . join( PROVER_INPUT_FILE_NAME ) ) ,
478479 "Prover input file was not created in the debug data directory, or was created with an
479- incorrect name, after running with a proving failure. NOTE: Changing the file name may
480+ incorrect name, after running with a proving failure. NOTE: Changing the file name may
480481 break external dependencies." ,
481482 ) ;
482483
You can’t perform that action at this time.
0 commit comments