diff --git a/crates/acvm_backend_barretenberg/src/proof_system.rs b/crates/acvm_backend_barretenberg/src/proof_system.rs index a591358945a..a2700171abf 100644 --- a/crates/acvm_backend_barretenberg/src/proof_system.rs +++ b/crates/acvm_backend_barretenberg/src/proof_system.rs @@ -159,7 +159,7 @@ fn prepend_public_inputs(proof: Vec, public_inputs: Vec) -> Ve let public_inputs_bytes = public_inputs.into_iter().flat_map(|assignment| assignment.to_be_bytes()); - public_inputs_bytes.chain(proof.into_iter()).collect() + public_inputs_bytes.chain(proof).collect() } // TODO: See nargo/src/artifacts/mod.rs diff --git a/crates/nargo_cli/src/cli/verify_cmd.rs b/crates/nargo_cli/src/cli/verify_cmd.rs index 595906171a2..d9cea3ae586 100644 --- a/crates/nargo_cli/src/cli/verify_cmd.rs +++ b/crates/nargo_cli/src/cli/verify_cmd.rs @@ -71,6 +71,7 @@ pub(crate) fn run( Ok(()) } +#[allow(clippy::too_many_arguments)] fn verify_package( backend: &Backend, package: &Package,