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

Ouverte
#3,526 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

@damiannolan y travaille déjà.

Depuis le 4/12/2026.

  • #3531 par @damiannolan — ouverte

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
30/100
Type d'issue
Bug
Clarté
Clairement spécifiée
Activité
À l'abandon
Stack technique
go

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
Go
Étoiles
362
Forks
295
Merge moyen
9 h 29 min
PR mergées (30 j)
3

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de evstack/ev-node

Toutes les issues de evstack/ev-node

Issues similaires

Plus d'issues Go

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.