33
44use std:: { collections:: HashSet , str:: FromStr } ;
55
6- use alloy:: { dyn_abi:: Eip712Domain , primitives:: Address , signers:: local:: PrivateKeySigner } ;
76use anyhow:: Result ;
87use axum:: { error_handling:: HandleError , routing:: post_service, BoxError , Router } ;
98use hyper:: StatusCode ;
@@ -16,6 +15,9 @@ use log::{error, info};
1615use prometheus:: { register_counter, register_int_counter, Counter , IntCounter } ;
1716use tap_core:: signed_message:: Eip712SignedMessage ;
1817use tap_graph:: { Receipt , ReceiptAggregateVoucher , SignedReceipt } ;
18+ use thegraph_core:: alloy:: {
19+ dyn_abi:: Eip712Domain , primitives:: Address , signers:: local:: PrivateKeySigner ,
20+ } ;
1921use tokio:: { net:: TcpListener , signal, task:: JoinHandle } ;
2022use tonic:: { codec:: CompressionEncoding , service:: Routes , Request , Response , Status } ;
2123use tower:: { layer:: util:: Identity , make:: Shared } ;
@@ -493,12 +495,14 @@ fn produce_kafka_records(
493495mod tests {
494496 use std:: { collections:: HashSet , str:: FromStr } ;
495497
496- use alloy:: { dyn_abi:: Eip712Domain , primitives:: Address , signers:: local:: PrivateKeySigner } ;
497498 use jsonrpsee:: { core:: client:: ClientT , http_client:: HttpClientBuilder , rpc_params} ;
498499 use rand:: { prelude:: * , seq:: SliceRandom } ;
499500 use rstest:: * ;
500501 use tap_core:: { signed_message:: Eip712SignedMessage , tap_eip712_domain} ;
501502 use tap_graph:: { Receipt , ReceiptAggregateVoucher } ;
503+ use thegraph_core:: alloy:: {
504+ dyn_abi:: Eip712Domain , primitives:: Address , signers:: local:: PrivateKeySigner ,
505+ } ;
502506
503507 use crate :: server;
504508
0 commit comments