Skip to content

Commit 5b1b121

Browse files
authored
Treat indexer store error as unattestable (#143)
1 parent 187e440 commit 5b1b121

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/query_engine/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,10 @@ where
581581
return Err(IndexerError::UnresolvedBlock);
582582
}
583583

584+
if indexer_response_has_error(&parsed_response, "Store error: database unavailable") {
585+
return Err(IndexerError::NoAttestation);
586+
}
587+
584588
if indexer_response_has_error(&parsed_response, "panic processing query") {
585589
return Err(IndexerError::Panic);
586590
}

0 commit comments

Comments
 (0)