From ffb392a03eda6d5c1cd351e0329806de29c82e25 Mon Sep 17 00:00:00 2001 From: Enrico Marconi <31142849+UMR1352@users.noreply.github.com> Date: Fri, 29 Nov 2024 14:40:01 +0100 Subject: [PATCH] Rename internal `sui` module to `iota` (#1463) * rename sui module to iota * fmt --- identity_iota_core/src/rebased/assets/asset.rs | 2 +- identity_iota_core/src/rebased/{sui => iota}/mod.rs | 0 .../src/rebased/{sui => iota}/move_calls/asset/create.rs | 0 .../src/rebased/{sui => iota}/move_calls/asset/delete.rs | 0 .../src/rebased/{sui => iota}/move_calls/asset/mod.rs | 0 .../src/rebased/{sui => iota}/move_calls/asset/transfer.rs | 0 .../src/rebased/{sui => iota}/move_calls/asset/update.rs | 0 .../rebased/{sui => iota}/move_calls/identity/borrow_asset.rs | 2 +- .../src/rebased/{sui => iota}/move_calls/identity/config.rs | 0 .../{sui => iota}/move_calls/identity/controller_execution.rs | 2 +- .../src/rebased/{sui => iota}/move_calls/identity/create.rs | 2 +- .../rebased/{sui => iota}/move_calls/identity/deactivate.rs | 2 +- .../src/rebased/{sui => iota}/move_calls/identity/mod.rs | 0 .../src/rebased/{sui => iota}/move_calls/identity/proposal.rs | 2 +- .../rebased/{sui => iota}/move_calls/identity/send_asset.rs | 2 +- .../src/rebased/{sui => iota}/move_calls/identity/update.rs | 2 +- .../src/rebased/{sui => iota}/move_calls/identity/upgrade.rs | 2 +- .../src/rebased/{sui => iota}/move_calls/migration.rs | 0 .../src/rebased/{sui => iota}/move_calls/mod.rs | 0 .../src/rebased/{sui => iota}/move_calls/utils.rs | 0 identity_iota_core/src/rebased/{sui => iota}/types/mod.rs | 0 identity_iota_core/src/rebased/{sui => iota}/types/number.rs | 0 identity_iota_core/src/rebased/migration/alias.rs | 2 +- identity_iota_core/src/rebased/migration/identity.rs | 4 ++-- identity_iota_core/src/rebased/migration/multicontroller.rs | 4 ++-- identity_iota_core/src/rebased/mod.rs | 2 +- identity_iota_core/src/rebased/proposals/borrow.rs | 2 +- identity_iota_core/src/rebased/proposals/config_change.rs | 4 ++-- identity_iota_core/src/rebased/proposals/controller.rs | 2 +- identity_iota_core/src/rebased/proposals/deactivate_did.rs | 2 +- identity_iota_core/src/rebased/proposals/mod.rs | 2 +- identity_iota_core/src/rebased/proposals/send.rs | 2 +- identity_iota_core/src/rebased/proposals/update_did_doc.rs | 2 +- identity_iota_core/src/rebased/proposals/upgrade.rs | 2 +- 34 files changed, 24 insertions(+), 24 deletions(-) rename identity_iota_core/src/rebased/{sui => iota}/mod.rs (100%) rename identity_iota_core/src/rebased/{sui => iota}/move_calls/asset/create.rs (100%) rename identity_iota_core/src/rebased/{sui => iota}/move_calls/asset/delete.rs (100%) rename identity_iota_core/src/rebased/{sui => iota}/move_calls/asset/mod.rs (100%) rename identity_iota_core/src/rebased/{sui => iota}/move_calls/asset/transfer.rs (100%) rename identity_iota_core/src/rebased/{sui => iota}/move_calls/asset/update.rs (100%) rename identity_iota_core/src/rebased/{sui => iota}/move_calls/identity/borrow_asset.rs (98%) rename identity_iota_core/src/rebased/{sui => iota}/move_calls/identity/config.rs (100%) rename identity_iota_core/src/rebased/{sui => iota}/move_calls/identity/controller_execution.rs (98%) rename identity_iota_core/src/rebased/{sui => iota}/move_calls/identity/create.rs (98%) rename identity_iota_core/src/rebased/{sui => iota}/move_calls/identity/deactivate.rs (98%) rename identity_iota_core/src/rebased/{sui => iota}/move_calls/identity/mod.rs (100%) rename identity_iota_core/src/rebased/{sui => iota}/move_calls/identity/proposal.rs (97%) rename identity_iota_core/src/rebased/{sui => iota}/move_calls/identity/send_asset.rs (98%) rename identity_iota_core/src/rebased/{sui => iota}/move_calls/identity/update.rs (98%) rename identity_iota_core/src/rebased/{sui => iota}/move_calls/identity/upgrade.rs (97%) rename identity_iota_core/src/rebased/{sui => iota}/move_calls/migration.rs (100%) rename identity_iota_core/src/rebased/{sui => iota}/move_calls/mod.rs (100%) rename identity_iota_core/src/rebased/{sui => iota}/move_calls/utils.rs (100%) rename identity_iota_core/src/rebased/{sui => iota}/types/mod.rs (100%) rename identity_iota_core/src/rebased/{sui => iota}/types/number.rs (100%) diff --git a/identity_iota_core/src/rebased/assets/asset.rs b/identity_iota_core/src/rebased/assets/asset.rs index e96554262..a7e510bbe 100644 --- a/identity_iota_core/src/rebased/assets/asset.rs +++ b/identity_iota_core/src/rebased/assets/asset.rs @@ -5,7 +5,7 @@ use std::str::FromStr as _; use crate::rebased::client::IdentityClient; use crate::rebased::client::IotaKeySignature; -use crate::rebased::sui::move_calls; +use crate::rebased::iota::move_calls; use crate::rebased::transaction::Transaction; use crate::rebased::transaction::TransactionOutput; use crate::rebased::utils::MoveType; diff --git a/identity_iota_core/src/rebased/sui/mod.rs b/identity_iota_core/src/rebased/iota/mod.rs similarity index 100% rename from identity_iota_core/src/rebased/sui/mod.rs rename to identity_iota_core/src/rebased/iota/mod.rs diff --git a/identity_iota_core/src/rebased/sui/move_calls/asset/create.rs b/identity_iota_core/src/rebased/iota/move_calls/asset/create.rs similarity index 100% rename from identity_iota_core/src/rebased/sui/move_calls/asset/create.rs rename to identity_iota_core/src/rebased/iota/move_calls/asset/create.rs diff --git a/identity_iota_core/src/rebased/sui/move_calls/asset/delete.rs b/identity_iota_core/src/rebased/iota/move_calls/asset/delete.rs similarity index 100% rename from identity_iota_core/src/rebased/sui/move_calls/asset/delete.rs rename to identity_iota_core/src/rebased/iota/move_calls/asset/delete.rs diff --git a/identity_iota_core/src/rebased/sui/move_calls/asset/mod.rs b/identity_iota_core/src/rebased/iota/move_calls/asset/mod.rs similarity index 100% rename from identity_iota_core/src/rebased/sui/move_calls/asset/mod.rs rename to identity_iota_core/src/rebased/iota/move_calls/asset/mod.rs diff --git a/identity_iota_core/src/rebased/sui/move_calls/asset/transfer.rs b/identity_iota_core/src/rebased/iota/move_calls/asset/transfer.rs similarity index 100% rename from identity_iota_core/src/rebased/sui/move_calls/asset/transfer.rs rename to identity_iota_core/src/rebased/iota/move_calls/asset/transfer.rs diff --git a/identity_iota_core/src/rebased/sui/move_calls/asset/update.rs b/identity_iota_core/src/rebased/iota/move_calls/asset/update.rs similarity index 100% rename from identity_iota_core/src/rebased/sui/move_calls/asset/update.rs rename to identity_iota_core/src/rebased/iota/move_calls/asset/update.rs diff --git a/identity_iota_core/src/rebased/sui/move_calls/identity/borrow_asset.rs b/identity_iota_core/src/rebased/iota/move_calls/identity/borrow_asset.rs similarity index 98% rename from identity_iota_core/src/rebased/sui/move_calls/identity/borrow_asset.rs rename to identity_iota_core/src/rebased/iota/move_calls/identity/borrow_asset.rs index 62e1f995a..1cd3830a1 100644 --- a/identity_iota_core/src/rebased/sui/move_calls/identity/borrow_asset.rs +++ b/identity_iota_core/src/rebased/iota/move_calls/identity/borrow_asset.rs @@ -14,8 +14,8 @@ use iota_sdk::types::transaction::ObjectArg; use iota_sdk::types::transaction::ProgrammableTransaction; use move_core_types::ident_str; +use crate::rebased::iota::move_calls::utils; use crate::rebased::proposals::BorrowAction; -use crate::rebased::sui::move_calls::utils; use crate::rebased::utils::MoveType; pub(crate) fn propose_borrow( diff --git a/identity_iota_core/src/rebased/sui/move_calls/identity/config.rs b/identity_iota_core/src/rebased/iota/move_calls/identity/config.rs similarity index 100% rename from identity_iota_core/src/rebased/sui/move_calls/identity/config.rs rename to identity_iota_core/src/rebased/iota/move_calls/identity/config.rs diff --git a/identity_iota_core/src/rebased/sui/move_calls/identity/controller_execution.rs b/identity_iota_core/src/rebased/iota/move_calls/identity/controller_execution.rs similarity index 98% rename from identity_iota_core/src/rebased/sui/move_calls/identity/controller_execution.rs rename to identity_iota_core/src/rebased/iota/move_calls/identity/controller_execution.rs index 86ee5e3d5..6063dc80d 100644 --- a/identity_iota_core/src/rebased/sui/move_calls/identity/controller_execution.rs +++ b/identity_iota_core/src/rebased/iota/move_calls/identity/controller_execution.rs @@ -10,8 +10,8 @@ use iota_sdk::types::transaction::ObjectArg; use iota_sdk::types::transaction::ProgrammableTransaction; use move_core_types::ident_str; +use crate::rebased::iota::move_calls::utils; use crate::rebased::proposals::ControllerExecution; -use crate::rebased::sui::move_calls::utils; use crate::rebased::utils::MoveType; pub(crate) fn propose_controller_execution( diff --git a/identity_iota_core/src/rebased/sui/move_calls/identity/create.rs b/identity_iota_core/src/rebased/iota/move_calls/identity/create.rs similarity index 98% rename from identity_iota_core/src/rebased/sui/move_calls/identity/create.rs rename to identity_iota_core/src/rebased/iota/move_calls/identity/create.rs index 036be6e0b..87b247d4f 100644 --- a/identity_iota_core/src/rebased/sui/move_calls/identity/create.rs +++ b/identity_iota_core/src/rebased/iota/move_calls/identity/create.rs @@ -11,8 +11,8 @@ use iota_sdk::types::TypeTag; use iota_sdk::types::IOTA_FRAMEWORK_PACKAGE_ID; use move_core_types::ident_str; +use crate::rebased::iota::move_calls::utils; use crate::rebased::migration::OnChainIdentity; -use crate::rebased::sui::move_calls::utils; use crate::rebased::utils::MoveType; use crate::rebased::Error; diff --git a/identity_iota_core/src/rebased/sui/move_calls/identity/deactivate.rs b/identity_iota_core/src/rebased/iota/move_calls/identity/deactivate.rs similarity index 98% rename from identity_iota_core/src/rebased/sui/move_calls/identity/deactivate.rs rename to identity_iota_core/src/rebased/iota/move_calls/identity/deactivate.rs index b1cb785e3..42e3199f6 100644 --- a/identity_iota_core/src/rebased/sui/move_calls/identity/deactivate.rs +++ b/identity_iota_core/src/rebased/iota/move_calls/identity/deactivate.rs @@ -9,7 +9,7 @@ use iota_sdk::types::transaction::ObjectArg; use iota_sdk::types::transaction::ProgrammableTransaction; use move_core_types::ident_str; -use crate::rebased::sui::move_calls::utils; +use crate::rebased::iota::move_calls::utils; pub(crate) fn propose_deactivation( identity: OwnedObjectRef, diff --git a/identity_iota_core/src/rebased/sui/move_calls/identity/mod.rs b/identity_iota_core/src/rebased/iota/move_calls/identity/mod.rs similarity index 100% rename from identity_iota_core/src/rebased/sui/move_calls/identity/mod.rs rename to identity_iota_core/src/rebased/iota/move_calls/identity/mod.rs diff --git a/identity_iota_core/src/rebased/sui/move_calls/identity/proposal.rs b/identity_iota_core/src/rebased/iota/move_calls/identity/proposal.rs similarity index 97% rename from identity_iota_core/src/rebased/sui/move_calls/identity/proposal.rs rename to identity_iota_core/src/rebased/iota/move_calls/identity/proposal.rs index 7a56dbde0..82e02e99d 100644 --- a/identity_iota_core/src/rebased/sui/move_calls/identity/proposal.rs +++ b/identity_iota_core/src/rebased/iota/move_calls/identity/proposal.rs @@ -1,7 +1,7 @@ // Copyright 2020-2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -use crate::rebased::sui::move_calls::utils; +use crate::rebased::iota::move_calls::utils; use crate::rebased::utils::MoveType; use crate::rebased::Error; use iota_sdk::rpc_types::OwnedObjectRef; diff --git a/identity_iota_core/src/rebased/sui/move_calls/identity/send_asset.rs b/identity_iota_core/src/rebased/iota/move_calls/identity/send_asset.rs similarity index 98% rename from identity_iota_core/src/rebased/sui/move_calls/identity/send_asset.rs rename to identity_iota_core/src/rebased/iota/move_calls/identity/send_asset.rs index 83348a867..e51c9d1bc 100644 --- a/identity_iota_core/src/rebased/sui/move_calls/identity/send_asset.rs +++ b/identity_iota_core/src/rebased/iota/move_calls/identity/send_asset.rs @@ -11,8 +11,8 @@ use iota_sdk::types::transaction::ProgrammableTransaction; use iota_sdk::types::TypeTag; use move_core_types::ident_str; +use crate::rebased::iota::move_calls; use crate::rebased::proposals::SendAction; -use crate::rebased::sui::move_calls; use crate::rebased::utils::MoveType; use self::move_calls::utils; diff --git a/identity_iota_core/src/rebased/sui/move_calls/identity/update.rs b/identity_iota_core/src/rebased/iota/move_calls/identity/update.rs similarity index 98% rename from identity_iota_core/src/rebased/sui/move_calls/identity/update.rs rename to identity_iota_core/src/rebased/iota/move_calls/identity/update.rs index 34603d54b..4d642431a 100644 --- a/identity_iota_core/src/rebased/sui/move_calls/identity/update.rs +++ b/identity_iota_core/src/rebased/iota/move_calls/identity/update.rs @@ -9,7 +9,7 @@ use iota_sdk::types::transaction::ObjectArg; use iota_sdk::types::transaction::ProgrammableTransaction; use move_core_types::ident_str; -use crate::rebased::sui::move_calls::utils; +use crate::rebased::iota::move_calls::utils; pub(crate) fn propose_update( identity: OwnedObjectRef, diff --git a/identity_iota_core/src/rebased/sui/move_calls/identity/upgrade.rs b/identity_iota_core/src/rebased/iota/move_calls/identity/upgrade.rs similarity index 97% rename from identity_iota_core/src/rebased/sui/move_calls/identity/upgrade.rs rename to identity_iota_core/src/rebased/iota/move_calls/identity/upgrade.rs index 376acae21..33d9f1934 100644 --- a/identity_iota_core/src/rebased/sui/move_calls/identity/upgrade.rs +++ b/identity_iota_core/src/rebased/iota/move_calls/identity/upgrade.rs @@ -9,7 +9,7 @@ use iota_sdk::types::transaction::ObjectArg; use iota_sdk::types::transaction::ProgrammableTransaction; use move_core_types::ident_str; -use crate::rebased::sui::move_calls::utils; +use crate::rebased::iota::move_calls::utils; pub(crate) fn propose_upgrade( identity: OwnedObjectRef, diff --git a/identity_iota_core/src/rebased/sui/move_calls/migration.rs b/identity_iota_core/src/rebased/iota/move_calls/migration.rs similarity index 100% rename from identity_iota_core/src/rebased/sui/move_calls/migration.rs rename to identity_iota_core/src/rebased/iota/move_calls/migration.rs diff --git a/identity_iota_core/src/rebased/sui/move_calls/mod.rs b/identity_iota_core/src/rebased/iota/move_calls/mod.rs similarity index 100% rename from identity_iota_core/src/rebased/sui/move_calls/mod.rs rename to identity_iota_core/src/rebased/iota/move_calls/mod.rs diff --git a/identity_iota_core/src/rebased/sui/move_calls/utils.rs b/identity_iota_core/src/rebased/iota/move_calls/utils.rs similarity index 100% rename from identity_iota_core/src/rebased/sui/move_calls/utils.rs rename to identity_iota_core/src/rebased/iota/move_calls/utils.rs diff --git a/identity_iota_core/src/rebased/sui/types/mod.rs b/identity_iota_core/src/rebased/iota/types/mod.rs similarity index 100% rename from identity_iota_core/src/rebased/sui/types/mod.rs rename to identity_iota_core/src/rebased/iota/types/mod.rs diff --git a/identity_iota_core/src/rebased/sui/types/number.rs b/identity_iota_core/src/rebased/iota/types/number.rs similarity index 100% rename from identity_iota_core/src/rebased/sui/types/number.rs rename to identity_iota_core/src/rebased/iota/types/number.rs diff --git a/identity_iota_core/src/rebased/migration/alias.rs b/identity_iota_core/src/rebased/migration/alias.rs index 917edf4c1..84a8611b9 100644 --- a/identity_iota_core/src/rebased/migration/alias.rs +++ b/identity_iota_core/src/rebased/migration/alias.rs @@ -19,7 +19,7 @@ use serde::Serialize; use crate::rebased::client::IdentityClient; use crate::rebased::client::IdentityClientReadOnly; use crate::rebased::client::IotaKeySignature; -use crate::rebased::sui::move_calls; +use crate::rebased::iota::move_calls; use crate::rebased::transaction::Transaction; use crate::rebased::transaction::TransactionOutput; use crate::rebased::utils::MoveType; diff --git a/identity_iota_core/src/rebased/migration/identity.rs b/identity_iota_core/src/rebased/migration/identity.rs index cdea687da..af5b54a5b 100644 --- a/identity_iota_core/src/rebased/migration/identity.rs +++ b/identity_iota_core/src/rebased/migration/identity.rs @@ -6,8 +6,8 @@ use std::collections::HashSet; use std::ops::Deref; use std::str::FromStr; +use crate::rebased::iota::types::Number; use crate::rebased::proposals::Upgrade; -use crate::rebased::sui::types::Number; use crate::IotaDID; use crate::IotaDocument; use crate::StateMetadataDocument; @@ -39,6 +39,7 @@ use serde::Serialize; use crate::rebased::client::IdentityClient; use crate::rebased::client::IdentityClientReadOnly; use crate::rebased::client::IotaKeySignature; +use crate::rebased::iota::move_calls; use crate::rebased::proposals::BorrowAction; use crate::rebased::proposals::ConfigChange; use crate::rebased::proposals::ControllerExecution; @@ -46,7 +47,6 @@ use crate::rebased::proposals::DeactivateDid; use crate::rebased::proposals::ProposalBuilder; use crate::rebased::proposals::SendAction; use crate::rebased::proposals::UpdateDidDocument; -use crate::rebased::sui::move_calls; use crate::rebased::transaction::Transaction; use crate::rebased::transaction::TransactionOutput; use crate::rebased::utils::MoveType; diff --git a/identity_iota_core/src/rebased/migration/multicontroller.rs b/identity_iota_core/src/rebased/migration/multicontroller.rs index b40192474..141a76414 100644 --- a/identity_iota_core/src/rebased/migration/multicontroller.rs +++ b/identity_iota_core/src/rebased/migration/multicontroller.rs @@ -4,8 +4,8 @@ use std::collections::HashMap; use std::collections::HashSet; -use crate::rebased::sui::types::Bag; -use crate::rebased::sui::types::Number; +use crate::rebased::iota::types::Bag; +use crate::rebased::iota::types::Number; use iota_sdk::types::base_types::ObjectID; use iota_sdk::types::collection_types::Entry; use iota_sdk::types::collection_types::VecMap; diff --git a/identity_iota_core/src/rebased/mod.rs b/identity_iota_core/src/rebased/mod.rs index 7eb41c2a8..c1745daa6 100644 --- a/identity_iota_core/src/rebased/mod.rs +++ b/identity_iota_core/src/rebased/mod.rs @@ -6,11 +6,11 @@ pub mod assets; /// Module for handling client operations. pub mod client; mod error; +mod iota; /// Module for handling migration operations. pub mod migration; /// Contains the operations of proposals. pub mod proposals; -mod sui; /// Module for handling transactions. pub mod transaction; /// Contains utility functions. diff --git a/identity_iota_core/src/rebased/proposals/borrow.rs b/identity_iota_core/src/rebased/proposals/borrow.rs index 145b3a8bf..a4348b4f5 100644 --- a/identity_iota_core/src/rebased/proposals/borrow.rs +++ b/identity_iota_core/src/rebased/proposals/borrow.rs @@ -6,8 +6,8 @@ use std::marker::PhantomData; use crate::rebased::client::IdentityClient; use crate::rebased::client::IotaKeySignature; +use crate::rebased::iota::move_calls; use crate::rebased::migration::Proposal; -use crate::rebased::sui::move_calls; use crate::rebased::transaction::ProtoTransaction; use crate::rebased::transaction::Transaction; use crate::rebased::transaction::TransactionOutput; diff --git a/identity_iota_core/src/rebased/proposals/config_change.rs b/identity_iota_core/src/rebased/proposals/config_change.rs index eec2b54cb..afe3917a5 100644 --- a/identity_iota_core/src/rebased/proposals/config_change.rs +++ b/identity_iota_core/src/rebased/proposals/config_change.rs @@ -9,8 +9,8 @@ use std::str::FromStr as _; use crate::rebased::client::IdentityClient; use crate::rebased::client::IotaKeySignature; +use crate::rebased::iota::move_calls; use crate::rebased::migration::Proposal; -use crate::rebased::sui::move_calls; use async_trait::async_trait; use iota_sdk::rpc_types::IotaTransactionBlockResponse; use iota_sdk::types::base_types::IotaAddress; @@ -22,8 +22,8 @@ use secret_storage::Signer; use serde::Deserialize; use serde::Serialize; +use crate::rebased::iota::types::Number; use crate::rebased::migration::OnChainIdentity; -use crate::rebased::sui::types::Number; use crate::rebased::utils::MoveType; use crate::rebased::Error; diff --git a/identity_iota_core/src/rebased/proposals/controller.rs b/identity_iota_core/src/rebased/proposals/controller.rs index 4be8b08e8..767a9067a 100644 --- a/identity_iota_core/src/rebased/proposals/controller.rs +++ b/identity_iota_core/src/rebased/proposals/controller.rs @@ -5,8 +5,8 @@ use std::marker::PhantomData; use crate::rebased::client::IdentityClient; use crate::rebased::client::IotaKeySignature; +use crate::rebased::iota::move_calls; use crate::rebased::migration::Proposal; -use crate::rebased::sui::move_calls; use crate::rebased::transaction::ProtoTransaction; use crate::rebased::transaction::Transaction; use crate::rebased::transaction::TransactionOutput; diff --git a/identity_iota_core/src/rebased/proposals/deactivate_did.rs b/identity_iota_core/src/rebased/proposals/deactivate_did.rs index 71b879f1d..72cac1126 100644 --- a/identity_iota_core/src/rebased/proposals/deactivate_did.rs +++ b/identity_iota_core/src/rebased/proposals/deactivate_did.rs @@ -5,7 +5,7 @@ use std::marker::PhantomData; use crate::rebased::client::IdentityClient; use crate::rebased::client::IotaKeySignature; -use crate::rebased::sui::move_calls; +use crate::rebased::iota::move_calls; use async_trait::async_trait; use iota_sdk::rpc_types::IotaTransactionBlockResponse; use iota_sdk::types::base_types::ObjectID; diff --git a/identity_iota_core/src/rebased/proposals/mod.rs b/identity_iota_core/src/rebased/proposals/mod.rs index a5b8b5380..8b1503876 100644 --- a/identity_iota_core/src/rebased/proposals/mod.rs +++ b/identity_iota_core/src/rebased/proposals/mod.rs @@ -15,8 +15,8 @@ use std::ops::DerefMut; use crate::rebased::client::IdentityClientReadOnly; use crate::rebased::client::IotaKeySignature; +use crate::rebased::iota::move_calls; use crate::rebased::migration::get_identity; -use crate::rebased::sui::move_calls; use crate::rebased::transaction::ProtoTransaction; use async_trait::async_trait; pub use borrow::*; diff --git a/identity_iota_core/src/rebased/proposals/send.rs b/identity_iota_core/src/rebased/proposals/send.rs index 5b68a2d67..fa6dbf2db 100644 --- a/identity_iota_core/src/rebased/proposals/send.rs +++ b/identity_iota_core/src/rebased/proposals/send.rs @@ -15,8 +15,8 @@ use serde::Serialize; use crate::rebased::client::IdentityClient; use crate::rebased::client::IotaKeySignature; +use crate::rebased::iota::move_calls; use crate::rebased::migration::OnChainIdentity; -use crate::rebased::sui::move_calls; use crate::rebased::utils::MoveType; use crate::rebased::Error; diff --git a/identity_iota_core/src/rebased/proposals/update_did_doc.rs b/identity_iota_core/src/rebased/proposals/update_did_doc.rs index 27ffef54a..e3c5253fd 100644 --- a/identity_iota_core/src/rebased/proposals/update_did_doc.rs +++ b/identity_iota_core/src/rebased/proposals/update_did_doc.rs @@ -5,7 +5,7 @@ use std::marker::PhantomData; use crate::rebased::client::IdentityClient; use crate::rebased::client::IotaKeySignature; -use crate::rebased::sui::move_calls; +use crate::rebased::iota::move_calls; use crate::IotaDocument; use async_trait::async_trait; use iota_sdk::rpc_types::IotaTransactionBlockResponse; diff --git a/identity_iota_core/src/rebased/proposals/upgrade.rs b/identity_iota_core/src/rebased/proposals/upgrade.rs index 1eaa761ab..19914f806 100644 --- a/identity_iota_core/src/rebased/proposals/upgrade.rs +++ b/identity_iota_core/src/rebased/proposals/upgrade.rs @@ -5,7 +5,7 @@ use std::marker::PhantomData; use crate::rebased::client::IdentityClient; use crate::rebased::client::IotaKeySignature; -use crate::rebased::sui::move_calls; +use crate::rebased::iota::move_calls; use async_trait::async_trait; use iota_sdk::rpc_types::IotaTransactionBlockResponse; use iota_sdk::types::base_types::ObjectID;