0xMiden / 0xMiden/node

Add error variant for connection errors for Remote Prover

Đang mở
#1,091 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
delegated proving
Ngôn ngữ chính
Rust
Star
104
Fork
138
Merge trung bình
1 ngày 13 giờ
Pull request đã merge (30 ngày)
56

Mô tả

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?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.