Readiness succeeds before a valid eth_chainId when no expected chain ID is supplied
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 20/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Estancado
- Stack tecnológico
- typescript
- Área
- backend-api-design
Línea de trabajo
Start with Server.start() and the readiness tests described in the issue. Check how the eth_chainId response is validated before the optional expected-chain comparison, then run the readiness tests with invalid-then-valid, invalid-until-timeout, valid-first, and explicit mismatch cases. Done means invalid responses do not signal readiness, while valid responses and the existing mismatch behavior work as described.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
At 2c4f686, Server.start() with a configured external URL and no expected chain ID reports readiness after any HTTP-200 string result for eth_chainId. That includes a warm-up response that isn't a chain ID. EIP-695 specifies a hexadecimal integer string.
I used a localhost-only fixture which returns "initializing" on its first probe, then "0x539". The real Prool server returns from start() after one probe. I expected it to wait for the second response. All eight existing readiness tests pass when run separately from the file's unrelated Anvil setup.
Would it make sense to validate the returned chain ID independently of comparing it with an expected chain? A small follow-up would cover invalid then valid, invalid until timeout, and the existing explicit chain-ID mismatch behavior without changing instance lifecycle behavior.
Readiness controls
I extended the localhost-only fixture to cover a permanently invalid response and a valid first response. On 2c4f686, the valid-first control succeeds with one probe, but all three invalid-then-valid variants stop after the invalid probe, and the invalid-only case resolves instead of timing out. With a local hexadecimal result check before the optional expected-chain comparison, all 13 tests passed (eight existing readiness cases and five new cases). No live RPC endpoint or Anvil process was used.
- Lenguaje dominante
- TypeScript
- Estrellas
- 142
- Forks
- 28
- Merge medio
- 4 h 15 min
- PR fusionados (30 d)
- 8
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 wevm/prool
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
Unused [email protected] dependency adds 12 advisories to consumers' auditsPosiblemente ocupada @selimaytac la tomó hace 58 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
anvil: silent footgunPosiblemente ocupada @chrisx9z la tomó hace 177 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
Los mantenedores suelen responder en 1 día
-
Migrate from execa to tinyexecPosiblemente ocupada @chrisx9z la tomó hace 187 días. AbiertoM: Good First Issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
wevm/prool#34 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
tempo: default datadir is dropped when starting process instancesPosiblemente ocupada @Osraka la tomó hace 29 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 25/100
Los mantenedores suelen responder en 1 día
Todos los issues de wevm/prool
Issues similares
-
Resources: Update work of fuzhouPosiblemente ocupada @rmt-svc la tomó hoy. Abiertoresources
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
railmapgen/rmp-gallery#4245 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
mike-north/AgentMonitors#717 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 60/100
slavakurilyak/awesome-ai-agents#1100 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
navikt/syfo-oppfolgingsplan-frontend#1206 ·
Los mantenedores suelen responder en 1 día
-
The SIGKILL escalation test passes without escalation when its child starts later than 100 msAbiertobug:new
Dificultad 2/5 1-3 horas Aptitud para principiantes 69/100
callstackincubator/simlock#1986 ·
Los mantenedores suelen responder en 1 día