Skip to content

Commit 3122ce7

Browse files
authored
chore: do not download k=24 halo2 params (#2025)
1 parent 03c1b75 commit 3122ce7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/cli/src/commands/setup.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ use aws_sdk_s3::Client;
88
use clap::Parser;
99
use eyre::{eyre, Result};
1010
use openvm_sdk::{
11+
config::DEFAULT_HALO2_VERIFIER_K,
1112
fs::{
1213
read_object_from_file, write_evm_halo2_verifier_to_folder, write_object_to_file,
1314
EVM_HALO2_VERIFIER_BASE_NAME, EVM_HALO2_VERIFIER_INTERFACE_NAME,
@@ -98,7 +99,7 @@ impl SetupCmd {
9899
));
99100
}
100101

101-
Self::download_params(10, 24).await?;
102+
Self::download_params(10, DEFAULT_HALO2_VERIFIER_K as u32).await?;
102103
// halo2 keygen does not depend on the app config
103104
let sdk = Sdk::standard();
104105

0 commit comments

Comments
 (0)