DA follower: split-namespace height counted as done before its other namespace is processed

オープン
#3,526 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@damiannolan がすでに取り組んでいます。

2026年12月4日 から。

  • #3531 @damiannolan による — オープン

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
30/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
go

調査の方向性

Read block/internal/syncing/da_follower.go at HandleEvent and block/internal/da/subscriber.go at runSubscription; compare how notifications for each namespace affect completion of the same DA height. Reproduce the header-only example in the issue, then check that the data namespace notification is still handled and the node can fetch Y's data from DA. An open linked pull request (#3531) is already working on this issue.

索引モデルが issue の本文から書いたものです。

説明

needs-triage

Problem

When header and data use separate DA namespaces, the subscriber gets one notification per namespace for the same DA height. daFollower.HandleEvent treats an inline event as done for that height as soon as one block completes at it, then the subscriber advances localDAHeight. The other namespace's notification for the same height then arrives when the height is no longer inline, and is ignored.

That is wrong when the first notification completes one block but not all of them. For example, a header-only notification at DA height h carries:

  • header X, whose data is empty, so it completes from the header alone;
  • header Y, whose data is in the data namespace at h.

X completes, the height counts as done, and the data notification for h is skipped. Y's data is never fetched from DA, so a node syncing only from DA stalls at Y until P2P supplies it.

Where

  • block/internal/syncing/da_follower.go, HandleEvent
  • block/internal/da/subscriber.go, runSubscription

This is on main. #3525 narrows it (blocks released from earlier DA heights no longer count) but does not fix it.

Possible fix

Decide whether a split-namespace height is done from whether both namespaces have been processed for it, not from whether a block completed. For example, process a height inline only when its notifications for every namespace have arrived, or always let catch-up fetch both namespaces.

主要言語
Go
スター
362
フォーク
295
平均マージ
9時間 29分
マージ済み PR(30日)
3

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

evstack/ev-node のほかの issue

evstack/ev-node の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。