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

http-prover refactor #77

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open

http-prover refactor #77

wants to merge 16 commits into from

Conversation

chudkowsky
Copy link
Collaborator

@chudkowsky chudkowsky commented Jan 24, 2025

Introduce New HTTP-Prover API

This PR introduces a new HTTP-based prover API and adds several key enhancements:

New Trace Generation Endpoint

  • Supports two trace formats:
    • Traditional Trace: Includes trace file, memory file, private input, and public input.
    • PIE Format: Alternative format for trace generation.

Prover CLI Enhancements

  • Replaces cairo-prove with a new Prover CLI.
  • Extends functionality to:
    • Calculate Stone Prover configuration.
    • Send and retrieve both prove and run jobs.

Server-Side Improvements

  • Refactored thread pool implementation:
    • Introduced a Task enum to improve flexibility.
  • Modified cairo0 program representation:
    • Changed from Struct to Vec<u8> due to serialization/deserialization issues (to be investigated further).
  • Added support for bootloaders.
  • Included additional benchmarking information.

@chudkowsky chudkowsky marked this pull request as ready for review February 3, 2025 12:29
@chudkowsky chudkowsky changed the title Feat/cargo run endpoint http-prover refactor Feb 5, 2025
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