Adds missing async-raises for prover.verify (#1237)

This commit is contained in:
Ben Bierens 2025-05-26 17:48:59 +02:00 committed by GitHub
parent f7d06cd0e8
commit bfbd7264df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -82,7 +82,7 @@ proc prove*(
proc verify*(
self: Prover, proof: AnyProof, inputs: AnyProofInputs
): Future[?!bool] {.async.} =
): Future[?!bool] {.async: (raises: [CancelledError]).} =
## Prove a statement using backend.
## Returns a future that resolves to a proof.
self.backend.verify(proof, inputs)