N2c local submission mini-protocol rejection structured reason

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
haskell

調査の方向性

まず現在の N2c local submission mini-protocol とその CDDL を読み、次に Pallas ライブラリと Mithril ノード間で拒否エラーがどのように表現されているかを調査します。既存の型とオプションのテキストメッセージを、影響を受けるすべてのコンポーネントを通して追跡します。プロトコルが無効、受信済み、期限切れ、その他のエラーに対する構造化された理由を一貫してサポートすれば完了です。

索引モデルが issue の本文から書いたものです。

説明

enhancement

When submitting a message on the n2c local submission mini-protocol, if an error occurs (KES signature is invalid, already expired message, ...) it is reported to the client. Today, the error is a type and optionally an error message in text. We would like to create more structured optional explanation of the errors. This would require modifications of the CIP, Pallas library, Mithril nodes.

Current CDDL:

reason = invalid
       / alreadyReceived
       / expired
       / other
 
invalid         = [0, tstr]
alreadyReceived = [1]
expired         = [2]
other           = [3, tstr]
主要言語
Haskell
スター
2
フォーク
5
平均マージ
13時間 24分
マージ済み PR(30日)
4

環境構築

はじめの一歩

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

IntersectMBO/dmq-node のほかの issue

IntersectMBO/dmq-node の issue をすべて見る

似ている issue

Haskell の issue をもっと見る

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

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