Browse Source

fix: compilation warnings

pull/2/head
CPerezz 4 months ago
parent
commit
ca2d4d6397
No known key found for this signature in database GPG Key ID: 6EE573EDC452F806
2 changed files with 3 additions and 2 deletions
  1. +2
    -2
      src/circom/circuit.rs
  2. +1
    -0
      src/witness/circom.rs

+ 2
- 2
src/circom/circuit.rs

@ -1,8 +1,8 @@
use std::{collections::HashMap, f32::consts::E};
use std::collections::HashMap;
use ark_ff::PrimeField;
use ark_relations::r1cs::{
self, ConstraintSynthesizer, ConstraintSystemRef, LinearCombination, SynthesisError, Variable,
ConstraintSynthesizer, ConstraintSystemRef, LinearCombination, SynthesisError, Variable,
};
use color_eyre::Result;

+ 1
- 0
src/witness/circom.rs

@ -28,6 +28,7 @@ pub trait Circom {
fn get_ptr_raw_prime(&self) -> Result<u32>;
}
#[cfg(feature = "circom-2")]
pub trait Circom2 {
fn get_field_num_len32(&self) -> Result<u32>;
fn get_raw_prime(&self) -> Result<()>;

Loading…
Cancel
Save