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

Offen
#3,526 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@damiannolan arbeitet bereits daran.

Seit 04.12.2026.

  • #3531 von @damiannolan — offen

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
30/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Veraltet
Tech-Stack
go

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Go
Sterne
362
Forks
295
Ø Merge
9 Std. 29 Min.
Gemergte PRs (30 T.)
3

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus evstack/ev-node

Alle Issues in evstack/ev-node

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.