Skip to content

Commit

Permalink
fix(proof_compressor): Fix backward compatibility (#2356)
Browse files Browse the repository at this point in the history
## What ❔

<!-- What are the changes this PR brings about? -->
<!-- Example: This PR adds a PR template to the repo. -->
<!-- (For bigger PRs adding more context is appreciated) -->

## Why ❔

<!-- Why are these changes done? What goal do they contribute to? What
are the principles behind them? -->
<!-- Example: PR templates ensure PR reviewers, observers, and future
iterators are in context about the evolution of repos. -->

## Checklist

<!-- Check your PR fulfills the following items. -->
<!-- For draft PRs check the boxes as you complete them. -->

- [ ] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [ ] Tests for the changes have been added / updated.
- [ ] Documentation comments have been added / updated.
- [ ] Code has been formatted via `zk fmt` and `zk lint`.

Signed-off-by: Danil <deniallugo@gmail.com>
  • Loading branch information
Deniallugo authored Jul 1, 2024
1 parent 610a7cf commit 76508c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions prover/proof_fri_compressor/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ mod metrics;
#[command(author = "Matter Labs", version)]
struct Cli {
/// Number of times proof fri compressor should be run.
#[arg(long)]
#[arg(long = "n_iterations")]
#[arg(short)]
n_iterations: Option<usize>,
number_of_iterations: Option<usize>,
#[arg(long)]
pub(crate) config_path: Option<std::path::PathBuf>,
#[arg(long)]
Expand Down Expand Up @@ -123,7 +123,7 @@ async fn main() -> anyhow::Result<()> {
);
let tasks = vec![
tokio::spawn(prometheus_config.run(stop_receiver.clone())),
tokio::spawn(proof_compressor.run(stop_receiver, opt.n_iterations)),
tokio::spawn(proof_compressor.run(stop_receiver, opt.number_of_iterations)),
];

let mut tasks = ManagedTasks::new(tasks).allow_tasks_to_finish();
Expand Down

0 comments on commit 76508c4

Please sign in to comment.