Skip to content

Commit

Permalink
resolve imports
Browse files Browse the repository at this point in the history
  • Loading branch information
zianksm committed Jun 9, 2023
1 parent 09ea1dd commit 299cd8b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dhatu/src/error/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use crate::{
registrar::key_manager::prelude::KeypairGenerationError,
tx::extrinsics::prelude::{reserve::FundsReserveError, CallbackExecutorError}, MandalaClientErorr,
tx::extrinsics::prelude::{reserve::FundsReserveError, CallbackExecutorError}, types::MandalaClientErorr,
};

#[derive(thiserror::Error, Debug)]
Expand Down
2 changes: 1 addition & 1 deletion dhatu/src/tx/dhatu_assets/facade.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::{collections::HashMap, sync::Arc};

use crate::{registrar::key_manager::prelude::{PrivateKey, PublicAddress}, MandalaClient};
use crate::{registrar::key_manager::prelude::{PrivateKey, PublicAddress}, types::MandalaClient};
use futures::{future, FutureExt};


Expand Down
3 changes: 2 additions & 1 deletion dhatu/src/tx/extrinsics/funds_reserve/reserve.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ use crate::tx::extrinsics::prelude::{
enums::ExtrinsicStatus, extrinsics::Transaction,
transfer_balance::constructor::BalanceTransfer,
};
use crate::types::MandalaClient;


use subxt::dynamic::{At, DecodedValueThunk};
use subxt::{tx::PairSigner};

use crate::{registrar::key_manager::prelude::PrivateKey, MandalaClient};
use crate::{registrar::key_manager::prelude::PrivateKey};

#[derive(thiserror::Error, Debug)]
pub enum FundsReserveError {
Expand Down
1 change: 0 additions & 1 deletion dhatu/src/types.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use subxt::{tx::SubmittableExtrinsic, OnlineClient, PolkadotConfig};
use types::{Extrinsic, MandalaConfig, NodeClient};

pub(crate) type MandalaConfig = PolkadotConfig;
pub(crate) type NodeClient = OnlineClient<MandalaConfig>;
Expand Down

0 comments on commit 299cd8b

Please sign in to comment.