mirror of
https://github.com/AleoHQ/leo.git
synced 2025-01-01 14:28:52 +03:00
Update field trait
This commit is contained in:
parent
d2bef646be
commit
bfdf3c4dca
@ -20,7 +20,7 @@ use crate::errors::GroupError;
|
||||
use leo_asg::GroupValue;
|
||||
use leo_asg::Span;
|
||||
|
||||
use snarkvm_models::curves::Field;
|
||||
use snarkvm_fields::Field;
|
||||
use snarkvm_models::curves::One;
|
||||
use snarkvm_models::gadgets::r1cs::ConstraintSystem;
|
||||
use snarkvm_models::gadgets::utilities::alloc::AllocGadget;
|
||||
|
@ -27,7 +27,7 @@ use leo_gadgets::bits::comparator::EvaluateLtGadget;
|
||||
use leo_gadgets::signed_integer::*;
|
||||
|
||||
use snarkvm_errors::gadgets::SynthesisError;
|
||||
use snarkvm_models::curves::Field;
|
||||
use snarkvm_fields::Field;
|
||||
use snarkvm_models::curves::PrimeField;
|
||||
use snarkvm_models::gadgets::r1cs::ConstraintSystem;
|
||||
use snarkvm_models::gadgets::utilities::alloc::AllocGadget;
|
||||
|
@ -17,7 +17,7 @@
|
||||
use crate::bits::RippleCarryAdder;
|
||||
|
||||
use snarkvm_errors::gadgets::SynthesisError;
|
||||
use snarkvm_models::curves::Field;
|
||||
use snarkvm_fields::Field;
|
||||
use snarkvm_models::gadgets::r1cs::ConstraintSystem;
|
||||
use snarkvm_models::gadgets::utilities::boolean::Boolean;
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with the Leo library. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use snarkvm_models::curves::Field;
|
||||
use snarkvm_fields::Field;
|
||||
use snarkvm_models::gadgets::r1cs::ConstraintSystem;
|
||||
|
||||
/// Returns subtraction of `self` - `other` in the constraint system.
|
||||
|
@ -15,7 +15,7 @@
|
||||
// along with the Leo library. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use snarkvm_errors::gadgets::SynthesisError;
|
||||
use snarkvm_models::curves::Field;
|
||||
use snarkvm_fields::Field;
|
||||
use snarkvm_models::gadgets::r1cs::ConstraintSystem;
|
||||
use snarkvm_models::gadgets::utilities::boolean::Boolean;
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
// along with the Leo library. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use snarkvm_errors::gadgets::SynthesisError;
|
||||
use snarkvm_models::curves::Field;
|
||||
use snarkvm_fields::Field;
|
||||
use snarkvm_models::curves::PrimeField;
|
||||
use snarkvm_models::gadgets::r1cs::ConstraintSystem;
|
||||
use snarkvm_models::gadgets::utilities::boolean::Boolean;
|
||||
|
@ -18,7 +18,7 @@ use crate::bits::FullAdder;
|
||||
use crate::signed_integer::*;
|
||||
|
||||
use snarkvm_errors::gadgets::SynthesisError;
|
||||
use snarkvm_models::curves::Field;
|
||||
use snarkvm_fields::Field;
|
||||
use snarkvm_models::curves::PrimeField;
|
||||
use snarkvm_models::gadgets::r1cs::ConstraintSystem;
|
||||
use snarkvm_models::gadgets::utilities::boolean::Boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user