Skip to content

Commit

Permalink
test_wallets moved to sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-marinica committed Oct 1, 2024
1 parent f6b0774 commit bfec3a1
Show file tree
Hide file tree
Showing 16 changed files with 8 additions and 6 deletions.
6 changes: 2 additions & 4 deletions framework/snippets/src/imports.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
pub use crate::multiversx_sc_scenario::imports::*;

pub use crate::{
dns_address_for_name, test_wallets, Interactor, InteractorPrepareAsync, StepBuffer,
};
pub use crate::{dns_address_for_name, Interactor, InteractorPrepareAsync, StepBuffer};

pub use crate::sdk::{data::keystore::InsertPassword, wallet::Wallet};
pub use crate::sdk::{data::keystore::InsertPassword, test_wallets, wallet::Wallet};

pub use env_logger;
pub use tokio;
5 changes: 4 additions & 1 deletion framework/snippets/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ mod interactor_sender;
mod interactor_tx;
mod multi;
pub mod network_response;
pub mod test_wallets;
// pub mod test_wallets;

pub use env_logger;
pub use hex;
Expand All @@ -23,3 +23,6 @@ pub use tokio;

/// Imports normally needed in interactors, grouped together.
pub mod imports;

/// Backwards compatibility.
pub use crate::sdk_core::test_wallets;
1 change: 1 addition & 0 deletions sdk/core/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
pub mod crypto;
pub mod data;
pub mod gateway;
pub mod test_wallets;
pub mod utils;
pub mod wallet;
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use crate::sdk::wallet::Wallet;
use crate::wallet::Wallet;

fn test_wallet(pem_file_contents: &str) -> Wallet {
Wallet::from_pem_file_contents(pem_file_contents.to_string()).unwrap()
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit bfec3a1

Please sign in to comment.