@@ -655,7 +655,7 @@ mod tests {
655655 mgr. committee . clone ( )
656656 } ;
657657 let ( refill_tx, _) = tokio:: sync:: watch:: channel ( 0u32 ) ;
658- let signing_manager = hashi :: mpc:: SigningManager :: new (
658+ let signing_manager = mpc:: SigningManager :: new (
659659 info. address ,
660660 committee,
661661 t,
@@ -679,9 +679,8 @@ mod tests {
679679 epoch : u64 ,
680680 sui_request_id : sui_sdk_types:: Address ,
681681 global_presig_index : u64 ,
682- ) -> Vec <
683- hashi:: mpc:: types:: SigningResult < fastcrypto:: groups:: secp256k1:: schnorr:: SchnorrSignature > ,
684- > {
682+ ) -> Vec < mpc:: types:: SigningResult < fastcrypto:: groups:: secp256k1:: schnorr:: SchnorrSignature > >
683+ {
685684 let beacon_value = S :: rand ( & mut rand:: thread_rng ( ) ) ;
686685 let sign_futures: Vec < _ > = nodes
687686 . iter ( )
@@ -691,7 +690,7 @@ mod tests {
691690 . signing_manager_for ( epoch)
692691 . unwrap_or_else ( || panic ! ( "SigningManager not initialized for epoch {epoch}" ) ) ;
693692 let onchain_state = node. hashi ( ) . onchain_state ( ) . clone ( ) ;
694- let p2p_channel = hashi:: mpc :: rpc :: RpcP2PChannel :: new (
693+ let p2p_channel = hashi:: mpc_p2p_channel :: RpcP2PChannel :: new (
695694 onchain_state,
696695 epoch,
697696 hashi:: metrics:: MPC_LABEL_SIGNING ,
@@ -709,7 +708,7 @@ mod tests {
709708 & beacon,
710709 None ,
711710 SIGNING_TIMEOUT ,
712- & metrics,
711+ & metrics. mpc ,
713712 )
714713 . await
715714 }
@@ -720,9 +719,7 @@ mod tests {
720719
721720 fn assert_all_signatures_match (
722721 results : Vec <
723- hashi:: mpc:: types:: SigningResult <
724- fastcrypto:: groups:: secp256k1:: schnorr:: SchnorrSignature ,
725- > ,
722+ mpc:: types:: SigningResult < fastcrypto:: groups:: secp256k1:: schnorr:: SchnorrSignature > ,
726723 > ,
727724 ) {
728725 let mut signatures = Vec :: new ( ) ;
0 commit comments