Skip to content

Commit ea2c997

Browse files
committed
Merge branch '3022-foundry-ui' of https://github.com/foundry-rs/starknet-foundry into 3022-2-message-components
2 parents 2864337 + b6a80a6 commit ea2c997

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

crates/forge-runner/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ pub fn maybe_save_trace_and_profile(
7171
let name = sanitize_filename::sanitize(name.replace("::", "_"));
7272
let trace_path = save_trace_data(&name, trace_data)?;
7373
if execution_data_to_save.profile {
74+
// TODO(#3395): Use Ui spinner
7475
let _spinner = Spinner::create_with_message("Running cairo-profiler");
7576
run_profiler(&name, &trace_path, &execution_data_to_save.additional_args)?;
7677
}
@@ -88,6 +89,7 @@ pub fn maybe_generate_coverage(
8889
if saved_trace_data_paths.is_empty() {
8990
print_as_warning(&anyhow!("No trace data to generate coverage from"));
9091
} else {
92+
// TODO(#3395): Use Ui spinner
9193
let _spinner = Spinner::create_with_message("Running cairo-coverage");
9294
run_coverage(
9395
saved_trace_data_paths,

crates/foundry-ui/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ impl OutputFormat {
2929
#[derive(Debug)]
3030
pub struct Ui {
3131
output_format: OutputFormat,
32-
// TODO: Add state here, that can be used for e.g. spinner
32+
// TODO(3395): Add state here, that can be used for spinner
3333
}
3434

3535
impl Ui {

0 commit comments

Comments
 (0)