Skip to content

Commit 35a1776

Browse files
attestation_signers updated_2_watch
1 parent 671bf67 commit 35a1776

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

common/src/attestations/signers.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use tracing::warn;
1717
use 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());

common/src/indexer_service/http/indexer_service.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)