77// the Business Source License, use of this software will be governed
88// by the Apache License, Version 2.0.
99
10- use alloy :: primitives:: { Address , B256 , Signature , keccak256} ;
11- use alloy :: signers :: k256:: ecdsa:: { SigningKey , VerifyingKey } ;
12- use alloy :: signers :: local :: LocalSigner ;
10+ use alloy_core :: primitives:: { Address , B256 , Signature , keccak256} ;
11+ use alloy_signer :: k256:: ecdsa:: { SigningKey , VerifyingKey } ;
12+ use alloy_signer_local :: LocalSigner ;
1313use internal_error:: { InternalError , ResultIntoInternal } ;
1414
1515////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -31,7 +31,7 @@ impl Secp256k1Signer {
3131 }
3232
3333 pub fn sign_prehash ( & self , hash : & B256 ) -> Result < Secp256k1Signature , InternalError > {
34- use alloy :: signers :: SignerSync ;
34+ use alloy_signer :: SignerSync ;
3535
3636 let signature = self . 0 . sign_hash_sync ( hash) . int_err ( ) ?;
3737
@@ -216,7 +216,7 @@ impl Secp256k1VerifyingKey {
216216 ) -> Result < ( ) , InternalError > {
217217 use std:: ops:: Deref ;
218218
219- use alloy :: signers :: k256:: ecdsa:: signature:: hazmat:: PrehashVerifier ;
219+ use alloy_signer :: k256:: ecdsa:: signature:: hazmat:: PrehashVerifier ;
220220
221221 let signature = signature. to_k256 ( ) . int_err ( ) ?;
222222
0 commit comments