Skip to content

Commit

Permalink
fix: update artifacts to new format and resolve fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaMasych committed Nov 25, 2024
1 parent a767eae commit c5980d2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Binary file modified tests/artifacts/proof.bin
Binary file not shown.
Binary file modified tests/artifacts/vk.bin
Binary file not shown.
10 changes: 5 additions & 5 deletions tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ fn valid_test_data() -> TestData {
artifacts_generator::gen_factorial();
}

TestData {
vk: include_bytes!("artifacts/vk.bin").to_vec(),
proof: include_bytes!("artifacts/proof.bin").to_vec(),
pubs: include_bytes!("artifacts/pubs.bin").to_vec(),
}
let vk = std::fs::read("tests/artifacts/vk.bin").expect("Failed to read vk.bin");
let proof = std::fs::read("tests/artifacts/proof.bin").expect("Failed to read proof.bin");
let pubs = std::fs::read("tests/artifacts/pubs.bin").expect("Failed to read pubs.bin");

TestData { vk, proof, pubs }
}

#[rstest]
Expand Down

0 comments on commit c5980d2

Please sign in to comment.