fix: fix CI, fix zkey_path

This commit is contained in:
Ya-wen, Jeng 2025-03-06 11:46:14 +08:00
parent 59f134d2e8
commit fb1cd7946c
2 changed files with 2 additions and 1 deletions

View File

@ -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:

View File

@ -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