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

Aperta Adatta ai principianti
#850 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 6 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
76/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions, rust

Direzione di ricerca

Leggi .github/workflows/kurtosis_assertoor.yml intorno alla riga 35 e confronta il suo ETHEREUM_PACKAGE_REF con il commit specificato di add-ethlambda, 1aec42f3fdd934ef0520f535630fe86eec30cfe0. Aggiorna il riferimento fissato a quel commit o a un commit successivo del branch, quindi verifica che il workflow battery passi nella pull request; il lavoro è terminato quando l’avvio del beacon accetta i bootnodes e l’esecuzione riesce.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Rust
Stelle
86
Fork
34
Merge medio
9g 20h
PR unite (30g)
77

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di lambdaclass/ethlambda

Tutte le issue di lambdaclass/ethlambda

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.