cardano-testnet: Recompute genesis hashes in configuration.yaml if missing
メンテナーはふだん 2 日以内に返信
@palas がすでに取り組んでいます。
2026年2月25日 から。
評価
この issue はまだ評価されていません。
説明
Problem
create-env deliberately writes configuration.yaml without genesis hashes (WithoutHashes), so users can edit genesis files without recomputing hashes. However, cardanoTestnet (the runtime phase) never rewrites configuration.yaml, so when using cardano --node-env, the config lacks hashes entirely.
In the direct cardano path, createTestnetEnv uses WithHashes, so the config always has hashes. This is an inconsistency between the two paths.
Proposed fix
At the start of cardanoTestnet in Testnet/Start/Cardano.hs (~L241), after reading the config file, check if ByronGenesisHash key is present. If not, call createConfigJson and rewrite configuration.yaml. This is ~15 lines of additive code. If hashes are already present, nothing changes.
Depends on
None (independent)
Type: Consistency fix
Effort: Low (~15 lines)
Risk: Low
- 主要言語
- Haskell
- スター
- 3.2k
- フォーク
- 763
- 平均マージ
- 2日 6時間
- マージ済み PR(30日)
- 18
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
IntersectMBO/cardano-node のほかの issue
-
Stale
難易度 1/5 1〜3時間 初心者へのやさしさ 75/100
IntersectMBO/cardano-node#6597 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
IntersectMBO/cardano-node#6522 · コメント 3 件 ·
メンテナーはふだん 2 日以内に返信
-
Remove carriage returns in testnet README.md for better diffs対応中かも @palas が 3 日前に担当しました。 オープン
IntersectMBO/cardano-node#6744 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
-
needs triage type: enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
IntersectMBO/cardano-node#6737 ·
メンテナーはふだん 2 日以内に返信
-
needs triage
難易度 4/5 3〜5日 初心者へのやさしさ 44/100
IntersectMBO/cardano-node#6734 · コメント 4 件 ·
メンテナーはふだん 2 日以内に返信
IntersectMBO/cardano-node の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
MorphRule, DataizeRule and ContextualizeRule silently accept unknown YAML keys, unlike rewrite `Rule`対応中かも @renyamamoto2026-cmyk が 1 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
objectionary/phino#2107 ·
メンテナーはふだん 1 日以内に返信
-
30-minutes algorithm any-language codewars dart easy elixir hackerrank hacktoberfest haskell help wanted interview-prep julia leetcode lua open-source r scala students zig
難易度 2/5 1時間未満 初心者へのやさしさ 88/100
Huerte/algo-solutions-python#124 ·