mirror of
https://github.com/logos-blockchain/logos-blockchain-rust-rapidsnark.git
synced 2026-06-07 11:49:32 +00:00
fix: fix CI, fix zkey_path
This commit is contained in:
parent
59f134d2e8
commit
fb1cd7946c
1
.github/workflows/build-and-test.yml
vendored
1
.github/workflows/build-and-test.yml
vendored
@ -15,6 +15,7 @@ env:
|
||||
jobs:
|
||||
clippy_check:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
|
||||
env:
|
||||
RUSTFLAGS: "-Dwarnings" # Make sure CI fails on all warnings, including Clippy lints
|
||||
steps:
|
||||
|
||||
@ -116,7 +116,7 @@ pub fn groth16_prover_zkey_file_wrapper(
|
||||
zkey_path: &str,
|
||||
wtns_buffer: Vec<u8>,
|
||||
) -> Result<ProofResult> {
|
||||
let formatted_zkey_path: &str = &zkey_path.to_string();
|
||||
let formatted_zkey_path = zkey_path.to_string();
|
||||
let wtns_size = wtns_buffer.len() as u64;
|
||||
|
||||
let mut proof_buffer = vec![0u8; 4 * 1024 * 1024]; // Adjust size as needed
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user