Skip to content

Commit 14be84b

Browse files
fix: read KZG params from kzg-params-dir (#410)
1 parent 6c26719 commit 14be84b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

crates/host-bench/src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,9 @@ pub async fn run_reth_benchmark<E: StarkFriEngine<SC>>(
333333
let app_vk = app_pk.get_app_vk();
334334
sdk.verify_app_proof(&app_vk, &proof)?;
335335
} else {
336-
let halo2_params_reader = CacheHalo2ParamsReader::new_with_default_params_dir();
336+
let halo2_params_reader = CacheHalo2ParamsReader::new(
337+
args.benchmark.kzg_params_dir.as_ref().expect("must set --kzg-params-dir"),
338+
);
337339
let mut agg_config = args.benchmark.agg_config();
338340
agg_config.agg_stark_config.max_num_user_public_values =
339341
VmConfig::<BabyBear>::system(&vm_config).num_public_values;

0 commit comments

Comments
 (0)