Report a source enum that has no allocated block
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- Medio día
- Aptitud para principiantes
- 78/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- javascript, node.js
Línea de trabajo
Start with src/scan.js and bin/validate-config.js, then review test/cli.test.js for existing validation errors and run the verification command from the issue. Add coverage for an enum with no allocated block, including the documented ignore comment and the link to --init; it is done when the error reports the source file, line and enum, ignored enums are exempt, and the CLI tests pass.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Context
The inverse of a stale allocation: a new contract adds an enum, but nobody updates the config. Every code it defines is unallocated, and CI still passes.
Scope
bin/validate-config.jssrc/scan.jstest/cli.test.js
Acceptance criteria
- A new
missing-blockerror names the source file, line and enum. - Enums marked with a documented ignore comment are exempt.
- The finding links to the
--initcommand.
Verification
node bin/validate-config.js codepact.config.json --check contracts/
Complexity
Medium (4 hours)
Part of Stellar Wave. Comment to claim this issue before starting.
- Lenguaje dominante
- JavaScript
- Estrellas
- 0
- Forks
- 1
- Merge medio
- 14 h 38 min
- PR fusionados (30 d)
- 9
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin 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 codepacct/codepact-conventions
-
enhancement good first issue wave
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
codepacct/codepact-conventions#55 ·
Los mantenedores suelen responder en 1 día
-
enhancement wave
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
codepacct/codepact-conventions#54 ·
Los mantenedores suelen responder en 1 día
-
documentation good first issue wave
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
codepacct/codepact-conventions#53 ·
Los mantenedores suelen responder en 1 día
-
good first issue tests wave
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
codepacct/codepact-conventions#52 ·
Los mantenedores suelen responder en 1 día
-
good first issue tests wave
Dificultad 1/5 1-3 horas Aptitud para principiantes 86/100
codepacct/codepact-conventions#51 ·
Los mantenedores suelen responder en 1 día
Todos los issues de codepacct/codepact-conventions
Issues similares
-
bug security
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
IbrahimHafez1/loadwise#251 ·
Los mantenedores suelen responder en 1 día
-
documentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 87/100
erkamyaman/unslop-anything#421 ·
Los mantenedores suelen responder en 1 día