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

オープン
#738 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

この issue はまだ評価されていません。

説明

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.

主要言語
TypeScript
スター
22
フォーク
34
平均マージ
16時間 53分
マージ済み PR(30日)
10

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

IntersectMBO/evolution-sdk のほかの issue

IntersectMBO/evolution-sdk の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。