feat: implement Moho recursive proof generation#53
Conversation
Codecov Report❌ Patch coverage is
... and 3 files with indirect coverage changes 🚀 New features to boost your workflow:
|
|
Commit: 9279c4c
|
storopoli
left a comment
There was a problem hiding this comment.
ProofId::Moho is submitted through self.moho, but reconciliation still always goes back through self.asm, so a real dedicated Moho prover will never be polled or fetched correctly. Submission dispatches to the Moho host here:
asm/bin/asm-runner/src/prover/orchestrator.rs
Lines 256 to 271 in e422361
But status polling and proof retrieval are still hard-wired to the ASM host here:
asm/bin/asm-runner/src/prover/orchestrator.rs
Lines 123 to 165 in e422361
asm/bin/asm-runner/src/prover/orchestrator.rs
Lines 168 to 194 in e422361
This passes with NativeHost because the proof ID is effectively the receipt, but it breaks the PR's stated design once ASM and Moho use different prover backends. The reconciler needs to dispatch by proof kind, or persist backend identity alongside the remote ID, before this is safe.
MdTeach
left a comment
There was a problem hiding this comment.
Overall looks good!!
Few questions and nits
We use
We use I've added a comment to clarify this in c3595e6. Note that since the plan is to later move the orchestration logic to use
This works with remote host as well, because the |
ad1449c to
eac4e8a
Compare
evgenyzdanovich
left a comment
There was a problem hiding this comment.
This look good, thanks.
5299adc to
a17cf28
Compare
a17cf28 to
0f62fd1
Compare
storopoli
left a comment
There was a problem hiding this comment.
I'm not sure about the AlwaysAccept hard-coded, maybe that was intentional from you. But the SP1 4 byte receipts is a real blocker.
storopoli
left a comment
There was a problem hiding this comment.
ACK 0f62fd1
Great! Rebase on top of alpenlabs/strata-common#88 (might need a new tag)
0f62fd1 to
215e00d
Compare
Description
ProverEnvfromBasicEnvin functional tests, making the orchestrator config optional so non-prover tests don't spin up proving infrastructure. Add Moho proof assertions to the existing proof generation test.Type of Change
Notes to Reviewers
Checklist
Related Issues