From 68a1f14f24f267f36a3a97090b060d5eeefcd840 Mon Sep 17 00:00:00 2001 From: Lech <88630083+Artemka374@users.noreply.github.com> Date: Fri, 20 Dec 2024 21:46:41 +0200 Subject: [PATCH] fix build --- .../zkstack/src/commands/prover/init.rs | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/zkstack_cli/crates/zkstack/src/commands/prover/init.rs b/zkstack_cli/crates/zkstack/src/commands/prover/init.rs index e0d7607b0c0b..0734f9306ec2 100644 --- a/zkstack_cli/crates/zkstack/src/commands/prover/init.rs +++ b/zkstack_cli/crates/zkstack/src/commands/prover/init.rs @@ -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), + )?; + } } }