cardano-testnet: Recompute genesis hashes in configuration.yaml if missing
Los mantenedores suelen responder en 2 días
@palas ya está trabajando en esto.
Desde el 25/2/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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
- Lenguaje dominante
- Haskell
- Estrellas
- 3.2k
- Forks
- 763
- Merge medio
- 2 d 6 h
- PR fusionados (30 d)
- 18
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de IntersectMBO/cardano-node
-
Stale
Dificultad 1/5 1-3 horas Aptitud para principiantes 75/100
IntersectMBO/cardano-node#6597 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
IntersectMBO/cardano-node#6522 · 3 comentarios ·
Los mantenedores suelen responder en 2 días
-
Remove carriage returns in testnet README.md for better diffsPosiblemente ocupada @palas la tomó hace 2 días. Abierto
IntersectMBO/cardano-node#6744 · 1 asignado ·
Los mantenedores suelen responder en 2 días
-
needs triage type: enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
IntersectMBO/cardano-node#6737 ·
Los mantenedores suelen responder en 2 días
-
needs triage
Dificultad 4/5 3-5 días Aptitud para principiantes 44/100
IntersectMBO/cardano-node#6734 · 4 comentarios ·
Los mantenedores suelen responder en 2 días
Todos los issues de IntersectMBO/cardano-node
Issues similares
-
MorphRule, DataizeRule and ContextualizeRule silently accept unknown YAML keys, unlike rewrite `Rule`Posiblemente ocupada @renyamamoto2026-cmyk la tomó hace 1 día. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
objectionary/phino#2107 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
tweag/tricorder#640 · 1 comentario ·
Los mantenedores suelen responder en 1 día