@@ -15,15 +15,6 @@ use ckb_types::{
1515 H256 , U256 ,
1616} ;
1717
18- use ckb_light_client_lib:: {
19- protocols:: { FetchInfo , LastState , ProveRequest , ProveState } ,
20- service:: {
21- FetchStatus , Order , ScriptStatus , ScriptType , SearchKey , SearchKeyFilter ,
22- SetScriptsCommand , Status , TransactionWithStatus , TxStatus ,
23- } ,
24- storage:: { self , HeaderWithExtension , StorageWithChainData , db:: { StorageBatchRelatedOperations , StorageGeneralOperations , StorageGetPinnedRelatedOperations } } ,
25- } ;
26- use ckb_light_client_lib:: storage:: db:: StorageHighLevelOperations ;
2718use crate :: {
2819 rpc:: {
2920 BlockFilterRpc , BlockFilterRpcImpl , ChainRpc , ChainRpcImpl , TransactionRpc ,
@@ -33,6 +24,22 @@ use crate::{
3324 // tests::utils::{create_peers, new_storage, MockChain},
3425 tests:: { create_peers, new_storage, MockChain } ,
3526} ;
27+ use ckb_light_client_lib:: storage:: db:: StorageHighLevelOperations ;
28+ use ckb_light_client_lib:: {
29+ protocols:: { FetchInfo , LastState , ProveRequest , ProveState } ,
30+ service:: {
31+ FetchStatus , Order , ScriptStatus , ScriptType , SearchKey , SearchKeyFilter ,
32+ SetScriptsCommand , Status , TransactionWithStatus , TxStatus ,
33+ } ,
34+ storage:: {
35+ self ,
36+ db:: {
37+ StorageBatchRelatedOperations , StorageGeneralOperations ,
38+ StorageGetPinnedRelatedOperations ,
39+ } ,
40+ HeaderWithExtension , StorageWithChainData ,
41+ } ,
42+ } ;
3643
3744#[ test]
3845fn rpc ( ) {
0 commit comments