Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(raiko): refine error return to avoid incorrect status. #348

Merged
merged 5 commits into from
Aug 22, 2024

Conversation

smtmfft
Copy link
Contributor

@smtmfft smtmfft commented Aug 21, 2024

Use error return instead of panic! to avoid unclean status which leads to endless WIP status back to client.
Probably need more refines with API CI test @petarvujovic98 .

@smtmfft smtmfft changed the title refine error return to avoid incorrect status. feat(raiko): refine error return to avoid incorrect status. Aug 21, 2024
Copy link
Contributor

@petarvujovic98 petarvujovic98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine except for the small refactoring changes I suggested.

provers/sp1/driver/src/lib.rs Outdated Show resolved Hide resolved
provers/risc0/driver/src/bonsai.rs Outdated Show resolved Hide resolved
provers/risc0/driver/src/bonsai.rs Outdated Show resolved Hide resolved
Signed-off-by: smtmfft <[email protected]>
@smtmfft smtmfft added this pull request to the merge queue Aug 22, 2024
Merged via the queue into main with commit 829609c Aug 22, 2024
7 checks passed
@smtmfft smtmfft deleted the refine-risc0-error-return branch August 22, 2024 01:17
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.

3 participants