0xMiden / 0xMiden/node

Add error variant for connection errors for Remote Prover

未關閉
#1,091 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
delegated proving
主要語言
Rust
星號
104
分支
138
平均合併
1 天 13 小時
30 天內合併 PR
56

描述

A user may want to use the remote prover and fallback to a local prover if the connection is failing. In that scenario, the user would match the error returned by the prover. Currently, all connection errors are encompassed into the `TransactionProverError::Other` variant, with a string message explaining the error. Would be nice to add a new variant for this.

https://github.com/0xMiden/miden-node/blob/66c0bbdd74e95ca0a09737f8105c09d62563965a/crates/remote-prover-client/src/remote_prover/tx_prover.rs#L97-L99

cc @sergerad in case I'm missing something?

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。