Skip to content

v4.0.3 — expose comet reindex-event (maintenance, optional)

Latest

Choose a tag to compare

@Ninjaxan Ninjaxan released this 20 Jul 14:33

Passage v4.0.3 — maintenance release

Optional, CLI-only release. Not consensus-breaking. No coordinated upgrade or governance action required — upgrade only if you want the new tooling; v4.0.2 validators remain fully compatible.

What's new

passage comet reindex-event

The v4.0.2 CometBFT bump (v0.38.23) brought event re-indexing support, but the command was not reachable from the passage CLI. This release exposes it:

passage comet reindex-event
passage comet reindex-event --start-height 2
passage comet reindex-event --end-height 10
passage comet reindex-event --start-height 2 --end-height 10
  • Upstream command name, reindex_event alias, and --start-height / --end-height semantics preserved (0 = blockstore base / latest height respectively, both inclusive).
  • Failures exit non-zero — upstream CometBFT prints the error and exits 0; this build returns proper exit codes so scripts can trust the result.
  • Progress bar during the run and a final start_height / end_height / blocks summary.
  • Re-running overlapping ranges is safe (the kv indexer overwrites the same keys).

Notes: offline tool — stop your node first. Requires stored ABCI responses (discard_abci_responses = false). Works with kv and psql indexers; refuses null.

Verified on a real-state mainnet fork: range reindex (exit 0), invalid range (exit 1), overlapping re-run idempotency (exit 0).

Checksums (reproducible rbuilder build at fb3005f)

e5021b658f691e70124009dae8fc0b5738ef110edcb74853469f536f034e781d  passage-4.0.3-linux-amd64
e4fd07e081fd90f959d84e4ade9db390db844babc92be7b5c440e7ef2f9dfeca  passage-4.0.3-linux-arm64