0xMiden / 0xMiden/rust-sdk

Allow for multiple transactions to try to consume the same note locally

Đang mở
#380 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Rust
Star
78
Fork
129
Merge trung bình
4 ngày 14 giờ
Pull request đã merge (30 ngày)
52

Mô tả

### What should be done?

Allow for multiple transactions to try to consume the same note locally.

### How should it be done?

We should store each transaction trying to locally consume a note. When it gets nullified we check which transaction was actually commited and update the status accordingly.

### When is this task done?

- When multiple local transactions can try to consume a specific note.
- When showing the "Processing" all candidate consumer transactions should be shown.
- When the nullifier arrives and the note is consumed, only the transaction that actually consumed the note should be shown.

### Additional context

This was discussed in [this PR](https://github.com/0xPolygonMiden/miden-client/pull/355#issuecomment-2155357327).

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.