Moonsong-Labs / madara-prover-api

RPC server and client to run the Stone Prover on the Madara sequencer.
10 stars 5 forks source link

Split Proof Support (2) #31

Closed notlesh closed 9 months ago

notlesh commented 9 months ago

Supersedes #30. This reworks that PR on top of #29. 29 changed enough that it was easier to redo this by hand.

This PR adds support for splitting proofs using cpu_air_verifier and stark-evm-adapter.

The workflow it supports is:

Use cpu_air_prover to generate a proof
Use cpu_air_verifier to generate annotations for that proof
Use stark-evm-adapter to split the proof (which requires the annotations).

Currently, this is added to the proof API with an additional argument to generate split proofs.

Depends on https://github.com/Moonsong-Labs/madara-prover-api/pull/29.

TODO