mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-23 23:23:50 +03:00
remove old pow gadget files
This commit is contained in:
parent
adce376675
commit
b5ae6dee64
@ -27,7 +27,7 @@ use leo_gadgets::{
|
||||
use snarkvm_fields::{Field, PrimeField};
|
||||
use snarkvm_gadgets::traits::utilities::{
|
||||
alloc::AllocGadget,
|
||||
arithmetic::{Add, Div, Mul, Neg},
|
||||
arithmetic::{Add, Div, Mul, Neg, Pow},
|
||||
boolean::Boolean,
|
||||
eq::{ConditionalEqGadget, EqGadget, EvaluateEqGadget},
|
||||
select::CondSelectGadget,
|
||||
|
@ -14,8 +14,5 @@
|
||||
// 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/>.
|
||||
|
||||
// pub mod pow;
|
||||
// pub use self::pow::*;
|
||||
|
||||
pub mod sub;
|
||||
pub use self::sub::*;
|
||||
|
@ -1,28 +0,0 @@
|
||||
// // Copyright (C) 2019-2021 Aleo Systems Inc.
|
||||
// // This file is part of the Leo library.
|
||||
//
|
||||
// // The Leo library is free software: you can redistribute it and/or modify
|
||||
// // it under the terms of the GNU General Public License as published by
|
||||
// // the Free Software Foundation, either version 3 of the License, or
|
||||
// // (at your option) any later version.
|
||||
//
|
||||
// // The Leo library is distributed in the hope that it will be useful,
|
||||
// // but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// // GNU General Public License for more details.
|
||||
//
|
||||
// // 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_fields::Field;
|
||||
// use snarkvm_r1cs::ConstraintSystem;
|
||||
//
|
||||
// /// Returns exponentiation of `self` ** `other` in the constraint system.
|
||||
// pub trait Pow<F: Field, Rhs = Self>
|
||||
// where
|
||||
// Self: std::marker::Sized,
|
||||
// {
|
||||
// type ErrorType;
|
||||
//
|
||||
// fn pow<CS: ConstraintSystem<F>>(&self, cs: CS, other: &Self) -> Result<Self, Self::ErrorType>;
|
||||
// }
|
Loading…
Reference in New Issue
Block a user