Bump the kurtosis battery's ethereum-package pin to a launcher that passes beacon --bootnodes as a list

Abierto Apto para principiantes
#850 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 6 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
76/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
github-actions, rust

Línea de trabajo

Lee .github/workflows/kurtosis_assertoor.yml alrededor de la línea 35 y compara su ETHEREUM_PACKAGE_REF con el commit especificado de add-ethlambda, 1aec42f3fdd934ef0520f535630fe86eec30cfe0. Actualiza la referencia fijada a ese commit o a uno posterior de la rama y luego comprueba que el workflow de batería pase en el pull request; se considera terminado cuando el inicio del beacon acepta los bootnodes y la ejecución finaliza correctamente.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

lambdaclass/ethlambda#825 makes ethlambda beacon --bootnodes a comma-separated list of ENRs and multiaddrs, and refuses a file path at startup.

The kurtosis + assertoor battery still pins a launcher that passes a file:

  • .github/workflows/kurtosis_assertoor.yml:35 pins ETHEREUM_PACKAGE_REF: 67cb0e02dc0bd49ec9461cbf2ef7ac4a3232755f.
  • At that commit, src/cl/ethlambda/ethlambda_launcher.star in lambdaclass/ethereum-package writes the resolved bootnodes to /tmp/ethlambda-bootnodes.txt and passes --bootnodes=/tmp/ethlambda-bootnodes.txt (lines 17-19 and 173-186).

So once lambdaclass/ethlambda#825 is on main, the battery's push runs fail at beacon startup whenever the launcher has a bootnode to pass.

Why it is not in lambdaclass/ethlambda#825. On pull_request the workflow tests ghcr.io/lambdaclass/ethlambda:unstable, which is main's image, not the PR's. A pin bump inside lambdaclass/ethlambda#825 would trigger a run that pairs the list-passing launcher with a binary that still reads a file, and fail. The bump only makes sense once that PR is on main and in unstable.

Fix. Set ETHEREUM_PACKAGE_REF to 1aec42f3fdd934ef0520f535630fe86eec30cfe0, or a later commit of the fork's add-ethlambda branch (head today: 860b338622). That commit is "refactor: pass ethlambda's bootnodes as a comma-separated list", and it passes --bootnodes=<comma-joined ENRs> through cl_shared.append_bootnode_arg. It is 16 commits ahead of 67cb0e02 (the builder wiring, reporting ethlambda's ENR and TCP multiaddr, the image tag among them), so the battery run on the bump's own PR is what checks those against main.

Lenguaje dominante
Rust
Estrellas
86
Forks
34
Merge medio
9 d 20 h
PR fusionados (30 d)
77

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de lambdaclass/ethlambda

Todos los issues de lambdaclass/ethlambda

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.