Skip to content

indexer-service: not returning the attestation field in the response when it finds an indexing_error #910

@alex-pakalniskis

Description

@alex-pakalniskis

Notes from the team

Lorenzo:

  • The indexer is not returning any attestation field in the response the GW is getting.
  • The indexer response contains an error: indexing_error

Adam:

  • I think indeed this is an edge case which may not be accounted for by the indexer service - in this case query responses should still be deterministic so there should still be attestations. however this is complicated by the fact that this requires a new indexer service version and all indexers to update etc.

Theo:

  • It seems to me that the indexer-service should return an indexing_error in the payload but also an attestation if graph-node marks the error as deterministic.

From E&N tech support:

This query works on development URL, but fails on Production URL.
deployment id: QmWyn1viw1sk6YqhJAfi1DqPNqXsMZcijHdXtMnG5w4xPP
Subgraph URL: https://thegraph.com/explorer/subgraphs/CC4yWRffRLhjp9CmYtehDuJu8EPxzGZWzpaYJMcFbQFM?view=Query&chain=arbitrum-one
Note:- This subgraph uses nonFatalError feature.

{
    factories(subgraphError:allow) {
    id
  }
}

This is the error message

{
  "errors": [
    {
      "message": "bad indexers: {0xbdfb5ee5a2abf4fc7bb1bd1221067aef7f9de491: BadResponse(no attestation: indexing_error)}"
    }
  ]
}

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

❌ Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions