Skip to content

Commit

Permalink
Rebased from main
Browse files Browse the repository at this point in the history
Signed-off-by: Bogdan Mircea <mirceapetrebogdan@gmail.com>
  • Loading branch information
bobozaur committed Mar 22, 2023
1 parent 24b74fc commit 162acb6
Show file tree
Hide file tree
Showing 12 changed files with 5 additions and 31 deletions.
10 changes: 5 additions & 5 deletions Cargo.lock

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

5 changes: 0 additions & 5 deletions agents/rust/aries-vcx-agent/src/services/verifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ use aries_vcx::protocols::proof_presentation::verifier::verification_status::Pre
use aries_vcx::protocols::SendClosure;

use super::connection::ServiceConnections;
use crate::{
error::*,
http_client::HttpClient,
storage::{object_cache::ObjectCache, Storage},
};

#[derive(Clone)]
struct VerifierWrapper {
Expand Down
3 changes: 0 additions & 3 deletions aries_vcx/src/handlers/proof_presentation/verifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ use crate::protocols::proof_presentation::verifier::messages::VerifierMessages;
use crate::protocols::proof_presentation::verifier::state_machine::{VerifierSM, VerifierState};
use crate::protocols::proof_presentation::verifier::verification_status::PresentationVerificationStatus;
use crate::protocols::SendClosure;
use messages::a2a::A2AMessage;
use messages::protocols::proof_presentation::presentation_proposal::PresentationProposal;
use messages::protocols::proof_presentation::presentation_request::PresentationRequest;

#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Default)]
pub struct Verifier {
Expand Down
2 changes: 0 additions & 2 deletions libvcx/src/api_c/cutils/return_types_u32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ use std::{
use aries_vcx::{indy::utils::next_command_handle, vdrtools::CommandHandle};
use libc::c_char;

use aries_vcx::indy::utils::next_command_handle;
use aries_vcx::vdrtools::CommandHandle;
use libvcx_core::errors;
use libvcx_core::errors::error::TIMEOUT_LIBINDY_ERROR;
use libvcx_core::errors::mapping_ffi_tests::map_indy_error;
Expand Down
1 change: 0 additions & 1 deletion libvcx/src/api_c/protocols/mediated_connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ use aries_vcx::protocols::mediated_connection::pairwise_info::PairwiseInfo;
use futures::future::BoxFuture;
use libc::c_char;

use aries_vcx::protocols::mediated_connection::pairwise_info::PairwiseInfo;
use libvcx_core::api_vcx::api_handle::mediated_connection;
use libvcx_core::api_vcx::api_handle::mediated_connection::*;
use libvcx_core::errors;
Expand Down
4 changes: 0 additions & 4 deletions libvcx/src/api_c/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ use futures::future::{BoxFuture, FutureExt};
use libc::c_char;
use serde_json;

use aries_vcx::agency_client::configuration::AgentProvisionConfig;
use aries_vcx::agency_client::messages::update_message::UIDsByConn;
use aries_vcx::agency_client::testing::mocking::AgencyMock;
use aries_vcx::agency_client::MessageStatusCode;
use aries_vcx::utils::constants::*;
use libvcx_core::api_vcx::api_global::agency_client::agency_update_messages;
use libvcx_core::api_vcx::api_global::agency_client::provision_cloud_agent;
Expand Down
3 changes: 0 additions & 3 deletions libvcx/src/api_c/vcx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ use aries_vcx::{
use futures::future::{BoxFuture, FutureExt};
use libc::c_char;

use aries_vcx::agency_client::configuration::AgencyClientConfig;
use aries_vcx::indy::ledger::pool::PoolConfig;
use aries_vcx::indy::wallet::IssuerConfig;
use libvcx_core::api_vcx::api_global::agency_client::create_agency_client_for_main_wallet;
use libvcx_core::api_vcx::api_global::agency_client::update_webhook_url;
use libvcx_core::api_vcx::api_global::ledger::{ledger_get_txn_author_agreement, ledger_set_txn_author_agreement};
Expand Down
3 changes: 0 additions & 3 deletions libvcx/src/api_c/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ use aries_vcx::{
use futures::future::BoxFuture;
use libc::c_char;

use aries_vcx::indy::wallet::{RestoreWalletConfigs, WalletConfig};
use aries_vcx::vdrtools::{CommandHandle, SearchHandle, WalletHandle};

use libvcx_core;
use libvcx_core::errors;
use libvcx_core::errors::error::{LibvcxError, LibvcxErrorKind};
Expand Down
2 changes: 0 additions & 2 deletions wrappers/vcx-napi-rs/src/api/agent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ use crate::error::to_napi_err;
use libvcx_core::api_vcx::api_handle::mediated_connection;
use napi_derive::napi;

use crate::error::to_napi_err;

#[napi]
pub fn generate_public_invitation(public_did: String, label: String) -> napi::Result<String> {
mediated_connection::generate_public_invitation(&public_did, &label).map_err(to_napi_err)
Expand Down
1 change: 0 additions & 1 deletion wrappers/vcx-napi-rs/src/api/credential_definition.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use napi_derive::napi;
use vcx::api_vcx::api_handle::credential_def;

use crate::error::to_napi_err;
use libvcx_core::api_vcx::api_handle::credential_def;
Expand Down
1 change: 0 additions & 1 deletion wrappers/vcx-napi-rs/src/api/ledger.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use napi_derive::napi;
use vcx::{api_vcx::api_global::ledger, serde_json::json};

use libvcx_core::api_vcx::api_global::ledger;
use libvcx_core::serde_json::json;
Expand Down
1 change: 0 additions & 1 deletion wrappers/vcx-napi-rs/src/api/schema.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use napi_derive::napi;
use vcx::api_vcx::api_handle::schema;

use crate::error::to_napi_err;
use libvcx_core::api_vcx::api_handle::schema;
Expand Down

0 comments on commit 162acb6

Please sign in to comment.