Remove object dept

This commit is contained in:
howardwu 2021-03-04 10:51:59 -08:00
parent 1411107d23
commit 7b7c1bbef4
5 changed files with 3 additions and 8 deletions

1
Cargo.lock generated
View File

@ -1374,7 +1374,6 @@ dependencies = [
"snarkvm-algorithms",
"snarkvm-curves",
"snarkvm-dpc",
"snarkvm-objects",
"snarkvm-storage",
"snarkvm-utilities",
"thiserror",

View File

@ -20,6 +20,7 @@ use crate::GroupType;
use leo_ast::InputValue;
use leo_ast::Span;
use snarkvm_dpc::account::AccountAddress;
use snarkvm_dpc::base_dpc::instantiated::Components;
use snarkvm_fields::PrimeField;
use snarkvm_gadgets::traits::utilities::alloc::AllocGadget;
@ -30,7 +31,6 @@ use snarkvm_gadgets::traits::utilities::eq::EvaluateEqGadget;
use snarkvm_gadgets::traits::utilities::select::CondSelectGadget;
use snarkvm_gadgets::traits::utilities::uint::UInt;
use snarkvm_gadgets::traits::utilities::uint::UInt8;
use snarkvm_objects::account::AccountAddress;
use snarkvm_r1cs::Assignment;
use snarkvm_r1cs::ConstraintSystem;
use snarkvm_r1cs::SynthesisError;

View File

@ -37,10 +37,6 @@ default-features = false
version = "0.2.0"
default-features = false
[dependencies.snarkvm-objects]
version = "0.2.0"
default-features = false
[dependencies.snarkvm-utilities]
version = "0.2.0"

View File

@ -19,7 +19,7 @@ use crate::DPCRecordValuesError;
use leo_ast::Record as AstRecord;
use snarkvm_dpc::base_dpc::instantiated::Components;
use snarkvm_objects::AccountAddress;
use snarkvm_dpc::AccountAddress;
use std::convert::TryFrom;
use std::str::FromStr;

View File

@ -23,9 +23,9 @@ use snarkvm_algorithms::traits::CRH;
use snarkvm_dpc::base_dpc::instantiated::*;
use snarkvm_dpc::base_dpc::record_payload::RecordPayload;
use snarkvm_dpc::base_dpc::DPC;
use snarkvm_dpc::Account;
use snarkvm_models::dpc::Record;
use snarkvm_models::objects::AccountScheme;
use snarkvm_objects::Account;
use snarkvm_utilities::bytes::ToBytes;
use snarkvm_utilities::to_bytes;