DA subscriber: inline rollback does not wake catch-up

Open
#3,527 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@damiannolan is already working on this.

Since Dec 4, 2026.

  • #3531 by @damiannolan — open

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
go
Domain
backend

Research direction

Read block/internal/da/subscriber.go, focusing on runSubscription's rollback and runCatchup's head-reached exit. Reproduce the described timing by running catch-up between the inline CAS and rollback, then verify that catch-up retries the rolled-back height without waiting for another blob. Pull request #3531 is already open for this issue.

Written by the indexing model from the issue text.

Description

needs-triage

Problem

runSubscription claims a height for inline processing by advancing localDAHeight with a CAS, and rolls it back if HandleEvent fails (block/internal/da/subscriber.go, around line 328). The rollback does not signal the catch-up loop.

If the catch-up loop runs while the inline cursor is advanced, it can see local > highest, mark the head reached and return. The rollback then moves localDAHeight back below highestSeenDAHeight, but no signal wakes catch-up. The rolled-back height is not retried until updateHighest sees a higher DA height, which in subscription mode happens only when another blob lands in the chain's namespaces.

On an active chain that is a short delay. On a lazy or idle chain the node can sit behind for a long time.

Where

  • block/internal/da/subscriber.go: runSubscription (rollback) and runCatchup (head-reached exit)

This is on main; #3525 does not touch the subscriber.

Possible fix

Call signalCatchup() after the rollback, so catch-up re-checks localDAHeight against highestSeenDAHeight. A test that runs catch-up between the inline CAS and the rollback would cover it.

Dominant language
Go
Stars
362
Forks
295
Avg merge
9h 29m
Merged PRs (30d)
3

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from evstack/ev-node

All issues in evstack/ev-node

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.