File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ use tracing::warn;
1717use crate :: prelude:: { Allocation , AttestationSigner } ;
1818
1919/// An always up-to-date list of attestation signers, one for each of the indexer's allocations.
20- pub fn attestation_signers (
20+ pub async fn attestation_signers (
2121 indexer_allocations : Eventual < HashMap < Address , Allocation > > ,
2222 indexer_mnemonic : String ,
2323 chain_id : ChainId ,
@@ -135,7 +135,8 @@ mod tests {
135135 ( * INDEXER_OPERATOR_MNEMONIC ) . to_string ( ) ,
136136 1 ,
137137 dispute_manager,
138- ) ;
138+ )
139+ . await ;
139140
140141 // Test that an empty set of allocations leads to an empty set of signers
141142 allocations_writer. write ( HashMap :: new ( ) ) ;
Original file line number Diff line number Diff line change @@ -251,7 +251,8 @@ impl IndexerService {
251251 options. config . indexer . operator_mnemonic . clone ( ) ,
252252 options. config . graph_network . chain_id ,
253253 dispute_manager,
254- ) ;
254+ )
255+ . await ;
255256
256257 let escrow_subgraph: & ' static SubgraphClient = Box :: leak ( Box :: new ( SubgraphClient :: new (
257258 http_client,
You can’t perform that action at this time.
0 commit comments