CIP-30 getUtxos fails for a wallet holding a Byron-address UTxO

Đang mở
#738 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

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

Mô tả

bug

cip30UtxoFromCBORHex cannot decode an output whose address is a Byron address, and cip30Wallet maps every UTxO through it, so a single Byron UTxO makes the whole getUtxos call fail with Failed to parse wallet UTxOs. The wallet then has no usable UTxOs, including its Shelley ones.

The decoder fails in TransactionOutput.FromCBORBytes on the address. Checked on main with a real output, de26b22e66880b83cd7450fb92856f18242e2375ccfcbf4a04fd41ceb9a81410#0: decoding it alone throws, and a wallet returning it next to a Shelley UTxO fails as a whole.

On 1,273 recent mainnet outputs, the 9 with a Byron address were the only ones that failed. #730 behaves the same; it does not change address decoding.

Ngôn ngữ chính
TypeScript
Star
22
Fork
34
Merge trung bình
16 giờ 53 phút
Pull request đã merge (30 ngày)
10

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của IntersectMBO/evolution-sdk

Tất cả issue của IntersectMBO/evolution-sdk

Issue tương tự

Thêm issue về TypeScript

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.