diff --git a/Cargo.lock b/Cargo.lock index 84a477cfbd..777a712d04 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1374,7 +1374,6 @@ dependencies = [ "snarkvm-algorithms", "snarkvm-curves", "snarkvm-dpc", - "snarkvm-objects", "snarkvm-storage", "snarkvm-utilities", "thiserror", diff --git a/compiler/src/value/address/address.rs b/compiler/src/value/address/address.rs index d3bd652887..8dc60b3007 100644 --- a/compiler/src/value/address/address.rs +++ b/compiler/src/value/address/address.rs @@ -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; diff --git a/state/Cargo.toml b/state/Cargo.toml index e162c8a004..8e7d0573cf 100644 --- a/state/Cargo.toml +++ b/state/Cargo.toml @@ -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" diff --git a/state/src/record_commitment/dpc_record_values.rs b/state/src/record_commitment/dpc_record_values.rs index ee237135ef..ca217a11b3 100644 --- a/state/src/record_commitment/dpc_record_values.rs +++ b/state/src/record_commitment/dpc_record_values.rs @@ -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; diff --git a/state/tests/test_verify_local_data_commitment.rs b/state/tests/test_verify_local_data_commitment.rs index 6c2d19bcf5..ee52e8e0db 100644 --- a/state/tests/test_verify_local_data_commitment.rs +++ b/state/tests/test_verify_local_data_commitment.rs @@ -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;