Skip to content

@subsquid/pipes v0.1.0-beta.18

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 07 Jul 14:59
· 327 commits to main since this release

Fix ClickHouse reorg crash-loop on an empty finalized cursor

A ClickHouse target could get stuck in a restart loop after a chain reorg when the newest saved state row had no finalized head yet (persisted as an empty finalized cursor). Fork resolution did an unguarded JSON.parse('') and threw SyntaxError on every restart, ingesting no blocks until the row aged out. Realtime exporters starting near the chain head were the ones affected.

  • Fork resolution now decodes an empty finalized / rollback_chain to undefined / [] and skips the row instead of crashing, matching the Postgres and BigQuery targets.
  • Read-path only — the write path is unchanged and existing state rows need no migration.

Full Changelog: ada9f08...pipes-v0.1.0-beta.18