Skip to content

Commit

Permalink
Remove concordium_base dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
lassemoldrup committed Nov 22, 2023
1 parent 5b5084f commit 5111d19
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
1 change: 0 additions & 1 deletion recover-id-object/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion recover-id-object/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
9 changes: 3 additions & 6 deletions recover-id-object/src/main.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 5111d19

Please sign in to comment.