diff --git a/recover-id-object/Cargo.lock b/recover-id-object/Cargo.lock index d6dd4d69..7fdd2b14 100644 --- a/recover-id-object/Cargo.lock +++ b/recover-id-object/Cargo.lock @@ -2063,7 +2063,6 @@ dependencies = [ "chrono", "clap", "concordium-rust-sdk", - "concordium_base", "http", "key_derivation", "reqwest", diff --git a/recover-id-object/Cargo.toml b/recover-id-object/Cargo.toml index 2e86cb20..414ccbe0 100644 --- a/recover-id-object/Cargo.toml +++ b/recover-id-object/Cargo.toml @@ -13,7 +13,6 @@ tonic = { version = "0.8", features = ["tls", "tls-roots", "tls-webpki-roots"] } thiserror = "1" concordium-rust-sdk = { path = "../deps/concordium-rust-sdk", version = "*" } -concordium_base = { path = "../deps/concordium-rust-sdk/concordium-base/rust-src/concordium_base", version = "*" } key_derivation = { path = "../deps/concordium-rust-sdk/concordium-base/rust-src/key_derivation/", version = "*" } serde_json = "1.0.96" serde = "1.0.162" diff --git a/recover-id-object/src/main.rs b/recover-id-object/src/main.rs index 70f4bd5a..b5b62742 100644 --- a/recover-id-object/src/main.rs +++ b/recover-id-object/src/main.rs @@ -1,22 +1,19 @@ use anyhow::{bail, Context}; use clap::{Args, Parser, Subcommand}; use concordium::{ - common::{Versioned, VERSION_0}, + common::{base16_decode_string, base16_encode_string, Versioned, VERSION_0}, id::{ account_holder::generate_id_recovery_request, constants::{ArCurve, AttributeKind, IpPairing}, pedersen_commitment::Value as PedersenValue, types::{ - account_address_from_registration_id, IdRecoveryRequest, IdentityObjectV1, IpInfo, + account_address_from_registration_id, GlobalContext, IdRecoveryRequest, + IdentityObjectV1, IpInfo, }, }, v2, v2::BlockIdentifier, }; -use concordium_base::{ - common::{base16_decode_string, base16_encode_string}, - id::types::GlobalContext, -}; use concordium_rust_sdk as concordium; use key_derivation::{ConcordiumHdWallet, PrfKey}; use tonic::transport::ClientTlsConfig;