File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
bin/asm-runner/src/prover Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,10 @@ impl<R: ZkVmRemoteHost> ProofOrchestrator<R> {
127127 ) -> Result < ( ) > {
128128 let typed_id = to_typed_proof_id :: < R > ( remote_id) ?;
129129
130+ // NOTE: We use `self.asm` here but this could be any `ZkVmRemoteHost` instance.
131+ // `get_status` only requires a network client and proof ID — not the ELF or
132+ // proving key. Since the orchestrator is generic over a single `R: ZkVmRemoteHost`,
133+ // both `asm` and `moho` share the same concrete type, so either works.
130134 let new_status = self
131135 . asm
132136 . get_status ( & typed_id)
@@ -171,6 +175,10 @@ impl<R: ZkVmRemoteHost> ProofOrchestrator<R> {
171175 remote_id : & RemoteProofId ,
172176 typed_id : & R :: ProofId ,
173177 ) -> Result < ( ) > {
178+ // NOTE: We use `self.asm` here but this could be any `ZkVmRemoteHost` instance.
179+ // `get_proof` only requires a network client and proof ID — not the ELF or
180+ // proving key. Since the orchestrator is generic over a single `R: ZkVmRemoteHost`,
181+ // both `asm` and `moho` share the same concrete type, so either works.
174182 let receipt = self
175183 . asm
176184 . get_proof ( typed_id)
You can’t perform that action at this time.
0 commit comments