Skip to content

Commit

Permalink
fix(prover): Fix path to vk_setup_data_generator_server_fri
Browse files Browse the repository at this point in the history
Signed-off-by: Danil <[email protected]>
  • Loading branch information
Deniallugo committed May 23, 2024
1 parent cd50658 commit 07aebd8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions prover/vk_setup_data_generator_server_fri/src/keystore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ pub struct Keystore {
setup_data_path: Option<String>,
}

fn get_base_path_from_env() -> PathBuf {
workspace_dir_or_current_dir().join("vk_setup_data_generator_server_fri/data")
fn get_base_path() -> PathBuf {
workspace_dir_or_current_dir().join("prover/vk_setup_data_generator_server_fri/data")
}

impl Default for Keystore {
fn default() -> Self {
Self {
basedir: get_base_path_from_env(),
basedir: get_base_path(),
setup_data_path: Some(
FriProverConfig::from_env()
.expect("FriProverConfig::from_env()")
Expand Down

0 comments on commit 07aebd8

Please sign in to comment.