11// Copyright 2023-, Edge & Node, GraphOps, and Semiotic Labs.
22// SPDX-License-Identifier: Apache-2.0
33
4- use std:: { collections:: HashSet , str :: FromStr } ;
4+ use std:: collections:: HashSet ;
55
66use indexer_tap_agent:: {
77 agent:: sender_account:: SenderAccountMessage ,
8- test:: { create_received_receipt, create_sender_account, get_grpc_url , store_receipt} ,
8+ test:: { create_received_receipt, create_sender_account, store_receipt} ,
99} ;
1010use ractor:: concurrency:: Duration ;
11- use reqwest:: Url ;
1211use serde_json:: json;
1312use sqlx:: PgPool ;
1413use test_assets:: { ALLOCATION_ID_0 , TAP_SIGNER as SIGNER } ;
@@ -19,7 +18,6 @@ use wiremock::{
1918} ;
2019
2120const TRIGGER_VALUE : u128 = 500 ;
22- const RECEIPT_LIMIT : u64 = 10000 ;
2321
2422// This test should ensure the full flow starting from
2523// sender account layer to work, up to closing an allocation
@@ -43,12 +41,9 @@ async fn sender_account_layer_test(pgpool: PgPool) {
4341
4442 let ( sender_account, notify, _, _) = create_sender_account ( )
4543 . pgpool ( pgpool. clone ( ) )
46- . rav_request_trigger_value ( TRIGGER_VALUE )
4744 . max_amount_willing_to_lose_grt ( TRIGGER_VALUE + 1000 )
4845 . escrow_subgraph_endpoint ( & mock_escrow_subgraph_server. uri ( ) )
4946 . network_subgraph_endpoint ( & mock_server. uri ( ) )
50- . rav_request_receipt_limit ( RECEIPT_LIMIT )
51- . aggregator_endpoint ( Url :: from_str ( & get_grpc_url ( ) . await ) . unwrap ( ) )
5247 . call ( )
5348 . await ;
5449
0 commit comments