Skip to content

fix: cartographer DomainInvalid errors#651

Merged
otsybizov merged 1 commit intomainnet-prodfrom
fix/carto-domain-invalid
Apr 2, 2026
Merged

fix: cartographer DomainInvalid errors#651
otsybizov merged 1 commit intomainnet-prodfrom
fix/carto-domain-invalid

Conversation

@otsybizov
Copy link
Copy Markdown
Contributor

🤖 Linear

Closes CONG-XXX

Copilot AI review requested due to automatic review settings April 2, 2026 17:43
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to reduce DomainInvalid errors occurring in Cartographer flows by preventing GraphReader.getLatestBlockNumber() from querying Goldsky subgraphs for domains that don’t appear to have a usable endpoint configured.

Changes:

  • Filter input domains down to supportedDomains based on presence of at least one non-blank endpoint.
  • Run block-number queries only for supportedDomains and update error logging to reference the filtered domain list.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread packages/adapters/subgraph/src/graph/reader.ts
Comment thread packages/adapters/subgraph/src/graph/reader.ts
@otsybizov otsybizov merged commit d58b8a3 into mainnet-prod Apr 2, 2026
27 checks passed
@otsybizov otsybizov deleted the fix/carto-domain-invalid branch April 2, 2026 18:40
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.

3 participants