Skip to content

Conversation

@suchapalaver
Copy link
Contributor

Post-Horizon, pre-Horizon indexers cannot serve queries (they lack TAP v2 receipt support). The previous logic would select an older version if it had indexers 'near chain head', causing queries to fail when routed to incompatible pre-Horizon indexers.

This change removes the sync-status check from version selection, ensuring the newest version with allocations is always selected. Sync status filtering is handled downstream in candidate selection where it correctly filters within protocol-compatible indexers.


Signed off by Joseph Livesey joseph@semiotic.ai

   Post-Horizon, pre-Horizon indexers
   cannot serve queries (they lack TAP v2
   receipt support). The previous logic
   would select an older version if it
   had indexers 'near chain head',
   causing queries to fail when routed to
   incompatible pre-Horizon indexers.

   This change removes the sync-status
   check from version selection, ensuring
   the newest version with allocations is
    always selected. Sync status
   filtering
   is handled downstream in candidate
   selection where it correctly filters
   within protocol-compatible indexers.
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.

1 participant