Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Artemka374 committed Dec 20, 2024
1 parent 2db5063 commit 68a1f14
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions zkstack_cli/crates/zkstack/src/commands/prover/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,28 @@ pub(crate) async fn run(args: ProverInitArgs, shell: &Shell) -> anyhow::Result<(
&format!("{}{}", path, PLONK_CRS_KEY),
)?;
}
CompressorType::All => {
let path = args.clone().path.context(MSG_SETUP_KEY_PATH_ERROR)?;

download_compressor_key(
shell,
&mut general_config,
FFLONK_CRS_KEY,
&format!("{}{}", path, FFLONK_CRS_KEY),
)?;
download_compressor_key(
shell,
&mut general_config,
FFLONK_COMPACT_CRS_KEY,
&format!("{}{}", path, FFLONK_COMPACT_CRS_KEY),
)?;
download_compressor_key(
shell,
&mut general_config,
PLONK_CRS_KEY,
&format!("{}{}", path, PLONK_CRS_KEY),
)?;
}
}
}

Expand Down

0 comments on commit 68a1f14

Please sign in to comment.