Skip to content

fix: add InternalError and other variants to FailureReason enum#36

Open
chetanyb wants to merge 1 commit into
eth-act:optional-proofsfrom
chetanyb:sse-error-fix
Open

fix: add InternalError and other variants to FailureReason enum#36
chetanyb wants to merge 1 commit into
eth-act:optional-proofsfrom
chetanyb:sse-error-fix

Conversation

@chetanyb
Copy link
Copy Markdown

Summary

Changes

  • add InternalError variant to FailureReason enum
  • add Unknown as fallbacko FailureReason enum

Justification

zkboost emits internal_error as a failure reason in SSE events when:

  • Witness service is unavailable
  • No zkVM worker exists for a proof type
  • Worker input channel send fails

Lighthouse's FailureReason enum was missing this variant, causing serde deserialization to fail. This broke the SSE stream and forced reconnection, potentially missing proof completion events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant