DA follower: split-namespace height counted as done before its other namespace is processed
维护者通常 1 天内回复
评估
- 难度
- 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 内容生成。
描述
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,HandleEventblock/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
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
evstack/ev-node 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 68/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
needs-triage
难度 3/5 1-2 天 新手友好度 76/100
维护者通常 1 天内回复
-
DA subscriber: inline rollback does not wake catch-up可能已有人在做 @damiannolan 今天认领。 未关闭needs-triage
难度 2/5 1-3 小时 新手友好度 35/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 55/100
维护者通常 1 天内回复
相似的 Issue
-
agent:ready
难度 2/5 1-3 小时 新手友好度 67/100
turbot/flowpipe#1162 · 1 条评论 ·
维护者通常 1 天内回复
-
LifetimeRemaining divides by zero when expireAfter is 0s, producing NaN disruption costs可能已有人在做 @weirong-ui 今天认领。 未关闭kind/bug needs-priority needs-triage
难度 2/5 1-3 小时 新手友好度 72/100
kubernetes-sigs/karpenter#3728 · 1 条评论 ·
维护者通常 1 天内回复
-
compaction: redundant exclusion checks after inRange可能已有人在做 @moodbased 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
docker/mcp-registry#8199 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复