Beacon API: serve debug/fork_choice
メンテナーはふだん 6 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
The issue names its reference point, forky's internal/source/beacon_node.go, and the doc file docs/rpc.md. Start by locating the existing /lean/v0/fork_choice handler in the RPC module and see how it assembles a fork-choice response from the store, then mirror that for the GET /eth/v1/debug/fork_choice route with justified/finalized checkpoints and one node per stored block. Check how the gloas fork exposes payload status so it can be placed in extra_data, and finish with the rpc.md entry. Done means a forky poll returns nodes instead of a 404.
索引モデルが issue の本文から書いたものです。
説明
Problem. ethereum-package's forky service collects nothing from an ethlambda beacon node. It polls /eth/v2/debug/fork_choice, falls back to /eth/v1/debug/fork_choice on a 404, and gets a 404 from that too. It retries every poll, publishes no frame, and its UI stays empty. This comes from reading forky's source (internal/source/beacon_node.go); nothing was run.
The lean surface has /lean/v0/fork_choice; the beacon surface has no fork-choice dump.
Fix.
- Serve
GET /eth/v1/debug/fork_choiceper beacon-APIs: the justified and finalized checkpoints, then onefork_choice_nodesentry per block the store holds, each with its slot, root, parent, checkpoints, weight, validity and execution block hash. - Add gloas's payload status to each node in
extra_data(forky passesextra_datathrough), so a dump taken under gloas shows FULL and EMPTY. - forky uses v1 when v2 is missing, so v1 alone is enough for it.
- Document it in docs/rpc.md.
- 主要言語
- Rust
- スター
- 86
- フォーク
- 34
- 平均マージ
- 9日 20時間
- マージ済み PR(30日)
- 77
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
lambdaclass/ethlambda のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
lambdaclass/ethlambda#850 ·
メンテナーはふだん 6 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
lambdaclass/ethlambda#777 · リアクション 1 件 ·
メンテナーはふだん 6 日以内に返信
-
Run all gossip validation tests再び着手できるかも @dicethedev が 9 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
lambdaclass/ethlambda#725 · コメント 2 件 ·
メンテナーはふだん 6 日以内に返信
-
Handle malformed DB data再び着手できるかも @dicethedev が 115 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
lambdaclass/ethlambda#529 · コメント 4 件 ·
メンテナーはふだん 6 日以内に返信
-
Document architectural choices再び着手できるかも @dicethedev が 115 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
lambdaclass/ethlambda#521 · コメント 2 件 ·
メンテナーはふだん 6 日以内に返信
lambdaclass/ethlambda の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
bytecodealliance/wrpc#1785 ·
メンテナーはふだん 1 日以内に返信
-
2 advisory ignore entries no longer match anything (`quick-xml` already patched in `Cargo.lock`)オープン
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
longbridge/nsh#2758 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
antithesishq/bombadil#473 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
libracoder/kiri#669 ·
メンテナーはふだん 1 日以内に返信