Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[MAINTENANCE] - Remove usages of `SafeHash`

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
リファクタリング
明瞭さ
説明が足りない
活発さ
静か
技術スタック
haskell
領域
blockchain, cli

調査の方向性

リポジトリ内で SafeHash のすべての使用箇所と安全でない生成箇所を検索し、各使用箇所をたどって、そのソースを追跡できるかどうかを判断してください。まず、影響を受ける Cardano CLI および API インターフェースを確認してください。使用箇所が、低レベルのインターフェースでの変換が避けられない場合を除き、未検証の Hash を使用していれば完了です。

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

説明

refactor Stale

What

Replace all usages of SafeHash with unverified Hash unless in cases where it is possible to track the source of the hash. If somewhere this is unavoidable, wait till the last second before unsafely converting to SafeHash.

Why

SafeHash is meant to encode that the hash has a pre-image, but this is not enforceable most of the time in practice, since both cardano-cli and cardano-api are often provided with the hash only, not with the pre-image.

Acceptance Criteria

  • There are no unsafe creations of SafeHash with the possible exception of just before interfaces with modules down the stack if unavoidable.
主要言語
Haskell
スター
72
フォーク
25
平均マージ
3日
マージ済み PR(30日)
19

環境構築

はじめの一歩

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

IntersectMBO/cardano-cli のほかの issue

IntersectMBO/cardano-cli の issue をすべて見る

似ている issue

Haskell の issue をもっと見る

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

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