Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
YoGhurt111 committed Sep 29, 2024
1 parent e35e7a6 commit f6d0ee2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/taiko-client/prover/proof_producer/sgx_producer.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,13 @@ func (s *SGXProofProducer) callProverDaemon(
return nil, errProofGenerating
}

if output.Data.Status == ErrProofInProgress.Error() {
return nil, ErrProofInProgress
}
if output.Data.Status == StatusRegistered {
return nil, ErrRetry
}

// Raiko returns "" as proof when proof type is native,
// so we just convert "" to bytes
if s.ProofType == ProofTypeCPU {
Expand Down

0 comments on commit f6d0ee2

Please sign in to comment.