Skip to content

Commit

Permalink
Refer to client fns as test_client:: in test
Browse files Browse the repository at this point in the history
  • Loading branch information
ameba23 committed Aug 30, 2024
1 parent 6568223 commit bcc9982
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/threshold-signature-server/src/validator/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ use crate::{
errors::ValidatorErr,
},
};
use entropy_client as test_client;
use entropy_client::{
chain_api::{
entropy::runtime_types::bounded_collections::bounded_vec::BoundedVec,
entropy::runtime_types::pallet_registry::pallet::ProgramInstance, get_api, get_rpc,
},
Hasher,
};
use entropy_client::{register, sign, store_program};
use entropy_kvdb::{
clean_tests,
kv_manager::helpers::{deserialize, serialize},
Expand Down Expand Up @@ -128,7 +128,7 @@ async fn test_reshare() {
let account_owner = AccountKeyring::Ferdie.pair();
let signature_request_author = AccountKeyring::One;
// Store a program
let program_pointer = store_program(
let program_pointer = test_client::store_program(
&api,
&rpc,
&account_owner,
Expand All @@ -141,7 +141,7 @@ async fn test_reshare() {
.unwrap();

// Register, using that program
let (verifying_key, _registered_info) = register(
let (verifying_key, _registered_info) = test_client::register(
&api,
&rpc,
account_owner.clone(),
Expand All @@ -152,7 +152,7 @@ async fn test_reshare() {
.unwrap();

// Sign a message
let recoverable_signature = sign(
let recoverable_signature = test_client::sign(
&api,
&rpc,
signature_request_author.pair(),
Expand Down

0 comments on commit bcc9982

Please sign in to comment.