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

refactor(breaking): move SP1Prover and SP1Verifier to sp1 crate #343

Closed
wants to merge 18 commits into from

Conversation

ratankaliani
Copy link
Member

@ratankaliani ratankaliani commented Mar 1, 2024

In preparation for remote proving, move SP1Prover and SP1Verifier into sp1_core. User entrypoints into core should go through the sp1 crate, and the sp1-core crate should not have dependencies on libraries such as reqwest.

Note: This change should be accompanied with changes to the documentation, which previously specified importing user-facing dependencies from sp1_core.

@ratankaliani ratankaliani changed the title feat(breaking): move SP1Prover and SP1Verifier refactor(breaking): move SP1Prover and SP1Verifier to sp1 crate Mar 1, 2024
};
use crate::{utils::BabyBearBlake3, SP1ProofWithIO, SP1Prover, SP1Stdin, SP1Verifier};

pub const FIBONACCI_IO_ELF: &[u8] =
Copy link
Member Author

Choose a reason for hiding this comment

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

Note: Didn't want to re-export all of the ELF's from programs::tests as it would slow down compilation time (would force sp1-core to compile all of the ELF's before sp1 could import). Instead, just include the only ELF required by the tests in io.rs

@ratankaliani ratankaliani marked this pull request as ready for review March 1, 2024 20:18
@jtguibas jtguibas closed this Mar 10, 2024
@jtguibas jtguibas deleted the ratan/move-service branch August 20, 2024 01:44
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