Skip to content

Commit

Permalink
fix(test): use srs path relative to project root
Browse files Browse the repository at this point in the history
  • Loading branch information
shuklaayush committed Aug 2, 2023
1 parent 2d870d5 commit 39d9846
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion barustenberg/src/plonk/composer/standard_composer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ impl StandardComposer<FileReferenceStringFactory> {
selector_properties: Vec<SelectorProperties>,
) -> Self {
let crs_factory = Rc::new(FileReferenceStringFactory::new(
"../srs_db/ignition".to_string(),
"./src/srs_db/ignition".to_string(),
));
Self::with_crs_factory(crs_factory, num_selectors, size_hint, selector_properties)
}
Expand Down
2 changes: 1 addition & 1 deletion barustenberg/src/plonk/proof_system/prover/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ fn generate_test_data<'a, H: BarretenHasher + Default + 'static>(
// create some constraints that satisfy our arithmetic circuit relation
let reference_string = Rc::new(RefCell::new(FileReferenceString::new(
n + 1,
"../srs_db/ignition",
"./src/srs_db/ignition",
).unwrap()));
let key = Rc::new(RefCell::new(ProvingKey::new(
n,
Expand Down
2 changes: 1 addition & 1 deletion barustenberg/src/plonk/proof_system/verifier/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ fn generate_test_data<'a, H: BarretenHasher + Default + 'static>(
// create some constraints that satisfy our arithmetic circuit relation
let crs = Rc::new(RefCell::new(FileReferenceString::new(
n + 1,
"../srs_db/ignition",
"./src/srs_db/ignition",
).unwrap()));
let key = Rc::new(RefCell::new(ProvingKey::new(
n,
Expand Down

0 comments on commit 39d9846

Please sign in to comment.