Skip to content

Bump substrate-processor #373

@traumschule

Description

@traumschule

ref ping #30 #270 #370

Doing maintenance revealed some dust.

$ docker-compose up --build

orion_processor | {"level":3,"time":1761158264518,"ns":"sqd:processor:archive-request","msg":"request will be retried in 2000 ms","httpRequestId":0,"reason":"FetchError: request to http://orion_archive_gateway:8000/graphql failed, reason: getaddrinfo ENOTFOUND orion_archive_gateway"}

http://orion_archive_gateway:8000/graphql as defined in docker.env

Setting CUSTOM_ARCHIVE_GATEWAY_URL in .env to either https://query.joystream.org/graphql or query.joystream.org/graphql fails:

orion_processor | {"level":2,"time":1761158160982,"ns":"sqd:processor","msg":"processing blocks from 0"}
orion_processor | {"level":5,"time":1761158161092,"ns":"sqd:processor","err":{"response":{"status":400,"headers":.. .body":{"errors":[{"message":"Cannot query field "status" on type "Query".","locations":[{"line":1,"column":9}],"extensions":{"code":"GRAPHQL_VALIDATION_FAILED"}}]},"url":"https://query.joystream.org/graphql"},"archiveQuery":"query { status { head } }","stack":"HttpError: Got 400 ...
at async Runner.run (/orion/node_modules/@subsquid/substrate-processor/lib/processor/runner.js:105:37)"}}

The query (query { status { head } }) is no longer supported and the processor version requested in orion/package.json is quite old (argo uses 8.4, storage squid 8.1):

    "@subsquid/substrate-processor": "^2.2.0",

Latest: 8.6.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions