Beacon API: serve states/{state_id}/committees and blocks/{block_id}/attestations
Los mantenedores suelen responder en 6 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 56/100
Línea de trabajo
The payload names only docs/rpc.md; start by locating the existing beacon API route table and the committee shuffling the node already computes during attestation validation. Implement GET /eth/v1/beacon/states/{state_id}/committees with the epoch, index and slot filters, then GET /eth/v2/beacon/blocks/{block_id}/attestations honouring Eth-Consensus-Version, and add both to docs/rpc.md. Done means xatu sentry, assertoor and slashoor receive real data instead of 404s.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem. GET /eth/v1/beacon/states/{state_id}/committees and GET /eth/v2/beacon/blocks/{block_id}/attestations are not served. Three of ethereum-package's tools depend on them. These findings come from reading each tool's source against main (b2722cfd); nothing was run.
- xatu sentry (one per participant): its duties service fetches
states/head/committees.- On the 404 it retries for 15 minutes and then never reports ready.
- Every event handler checks that readiness, so the sentry stays up but drops every event (head, block, attestation, data column, proposer duties) and logs an error for each.
- Removing
attestationfrom its subscriptions does not avoid this: the package's template also enables committee fetching.
- assertoor:
check_consensus_attestation_statsasks for committees by state root. The task never records a result, so the bundledstability-checkplaybook never passes.- On an ethlambda-only network the state-root lookup in lambdaclass/ethlambda#857 is needed as well.
- In a mixed network it can pass by chance, when the request goes to another client.
- slashoor: it reads
blocks/{id}/attestationsand the committees to find double and surround votes.- On 404s it processes zero attestations and logs nothing, so it misses every attester slashing.
- Proposer slashings still work.
Fix.
- Serve
GET /eth/v1/beacon/states/{state_id}/committees, with theepoch,indexandslotfilters, from the committee shuffling the node already computes for attestation validation. - Serve
GET /eth/v2/beacon/blocks/{block_id}/attestations, withEth-Consensus-Version. - Document both in docs/rpc.md.
- Lenguaje dominante
- Rust
- Estrellas
- 86
- Forks
- 34
- Merge medio
- 9 d 20 h
- PR fusionados (30 d)
- 77
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una 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 lambdaclass/ethlambda
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
lambdaclass/ethlambda#850 ·
Los mantenedores suelen responder en 6 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
lambdaclass/ethlambda#777 · 1 reacción ·
Los mantenedores suelen responder en 6 días
-
Run all gossip validation testsQuizá libre de nuevo @dicethedev la tomó hace 9 días y no hay ningún pull request abierto. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
lambdaclass/ethlambda#725 · 2 comentarios ·
Los mantenedores suelen responder en 6 días
-
Handle malformed DB dataQuizá libre de nuevo @dicethedev la tomó hace 115 días y no hay ningún pull request abierto. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
lambdaclass/ethlambda#529 · 4 comentarios ·
Los mantenedores suelen responder en 6 días
-
Document architectural choicesQuizá libre de nuevo @dicethedev la tomó hace 115 días y no hay ningún pull request abierto. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
lambdaclass/ethlambda#521 · 2 comentarios ·
Los mantenedores suelen responder en 6 días
Todos los issues de lambdaclass/ethlambda
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
bytecodealliance/wrpc#1785 ·
Los mantenedores suelen responder en 1 día
-
2 advisory ignore entries no longer match anything (`quick-xml` already patched in `Cargo.lock`)Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
longbridge/nsh#2758 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
antithesishq/bombadil#473 ·
Los mantenedores suelen responder en 2 días
-
bench/api.sh exec test fails with curl exit 52, and --ignore-failure still records the timingsAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
libracoder/kiri#669 ·
Los mantenedores suelen responder en 1 día