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

Aberta
#3,526 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

@damiannolan já está trabalhando nisso.

Desde 4/12/2026.

  • #3531 de @damiannolan — aberto

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
30/100
Tipo de issue
Bug
Clareza
Claramente especificada
Status de atividade
Estagnada
Stack de tecnologia
go

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Go
Estrelas
362
Forks
295
Merge médio
9h 29min
PRs com merge (30d)
3

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de evstack/ev-node

Todas as issues de evstack/ev-node

Issues semelhantes

Mais issues de Go

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.