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

Aberta Para iniciantes
#850 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 6 dias

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
2/5
Tempo estimado
1-3 horas
Facilidade para iniciantes
76/100
Tipo de issue
Bug
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
github-actions, rust

Direção de pesquisa

Leia .github/workflows/kurtosis_assertoor.yml por volta da linha 35 e compare o ETHEREUM_PACKAGE_REF com o commit especificado de add-ethlambda, 1aec42f3fdd934ef0520f535630fe86eec30cfe0. Atualize a referência fixada para esse commit ou para um commit posterior do branch e, em seguida, verifique se o workflow battery passa no pull request; a tarefa está concluída quando a inicialização do beacon aceita os bootnodes e a execução é bem-sucedida.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Rust
Estrelas
86
Forks
34
Merge médio
9d 20h
PRs com merge (30d)
77

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de lambdaclass/ethlambda

Todas as issues de lambdaclass/ethlambda

Issues semelhantes

Mais issues de Rust

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.