Skip to content

Commit

Permalink
Fmt and fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
winderica committed Dec 21, 2024
1 parent 53342df commit b71077e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion folding-schemes/src/folding/circuits/nonnative/uint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ use num_integer::Integer;
use crate::{
folding::traits::{Inputize, InputizeNonNative},
transcript::{AbsorbNonNative, AbsorbNonNativeGadget},
utils::gadgets::{EquivalenceGadget, MatrixGadget, SparseMatrixVar, VectorGadget}, SonobeField,
utils::gadgets::{EquivalenceGadget, MatrixGadget, SparseMatrixVar, VectorGadget},
SonobeField,
};

/// `LimbVar` represents a single limb of a non-native unsigned integer in the
Expand Down
2 changes: 1 addition & 1 deletion folding-schemes/src/folding/nova/decider_eth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ pub fn prepare_calldata(
incoming_instance: &CommittedInstance<ark_bn254::G1Projective>,
proof: Proof<ark_bn254::G1Projective, KZG<'static, Bn254>, Groth16<Bn254>>,
) -> Result<Vec<u8>, Error> {
Ok(vec![
Ok([
function_signature_check.to_eth(),
i.to_eth(), // i
z_0.to_eth(), // z_0
Expand Down
2 changes: 1 addition & 1 deletion folding-schemes/src/folding/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ pub trait Inputize<F> {
/// the circuit.
///
/// This is useful for the verifier to compute the public inputs.
///
///
/// Note that we require this trait because we need to distinguish between some
/// data types that are represented both natively and non-natively in-circuit
/// (e.g., field elements can have type `FpVar` and `NonNativeUintVar`).
Expand Down

0 comments on commit b71077e

Please sign in to comment.