Skip to content

fix(subscriptions): bound chain evaluator tip by per-trigger decoder … - #51

Open
Rapha-btc wants to merge 1 commit into
ryanwaits:mainfrom
Rapha-btc:fix/decoder-tip-per-trigger
Open

fix(subscriptions): bound chain evaluator tip by per-trigger decoder …#51
Rapha-btc wants to merge 1 commit into
ryanwaits:mainfrom
Rapha-btc:fix/decoder-tip-per-trigger

Conversation

@Rapha-btc

Copy link
Copy Markdown

…progress

Chain print subscriptions silently dropped events. The evaluator's block-source tip tracks block INGESTION, which runs ahead of decode; each event type is decoded by an independent, differently-paced decoder (print is heavier and trails ft_transfer). When the evaluator processed a height before the print decoder committed it, the print wasn't in decoded_events yet, the match was missed, and the forward-only cursor never revisited it.

Bound the evaluator tip by the MIN decoder_checkpoints height over ONLY the decoders feeding the event types its active subscriptions read (derived from referencedEventTypes: decode.<event_type>.v1). A stalled decoder no subscription reads (e.g. a defunct pox4) is excluded and can never gate deliveries. Null floor -> fall back to the raw tip rather than stall.

Claude-Session: https://claude.ai/code/session_01YMvYzMv1qpiUMUeGA81bXB

…progress

Chain print subscriptions silently dropped events. The evaluator's block-source
tip tracks block INGESTION, which runs ahead of decode; each event type is
decoded by an independent, differently-paced decoder (print is heavier and
trails ft_transfer). When the evaluator processed a height before the print
decoder committed it, the print wasn't in decoded_events yet, the match was
missed, and the forward-only cursor never revisited it.

Bound the evaluator tip by the MIN decoder_checkpoints height over ONLY the
decoders feeding the event types its active subscriptions read (derived from
referencedEventTypes: decode.<event_type>.v1). A stalled decoder no subscription
reads (e.g. a defunct pox4) is excluded and can never gate deliveries. Null
floor -> fall back to the raw tip rather than stall.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YMvYzMv1qpiUMUeGA81bXB
@ryanwaits ryanwaits closed this Aug 30, 2026
@ryanwaits ryanwaits reopened this Aug 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants