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: display the correct proof type in SP1ProofWithPublicValues::bytes() #1964

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

leruaa
Copy link
Contributor

@leruaa leruaa commented Jan 22, 2025

Motivation

Display a more meaningful error message when SP1ProofWithPublicValues::bytes() is called on a unsupported proof type.

Solution

impl Display on SP1Proof

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@leruaa leruaa merged commit 81e6fa9 into dev Jan 22, 2025
11 of 13 checks passed
@leruaa leruaa deleted the aurelien/correct-proof-type branch January 22, 2025 17:51
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.

2 participants