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

未关闭
#3,526 0 条评论 0 个 reaction 已指派 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 分钟
30 天内合并 PR
3

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

evstack/ev-node 的其他 Issue

查看 evstack/ev-node 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。