You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm trying to start a local test environment.
I started localnet and vault using the docker-compose.yml in interbtc-api, and then I used polkadot-js to mint kBTC according to the method in https://docs.interlay.io/, which all succeeded. Next I tried to go to the vault dashboard to view the vault status, which requires interbtc-ui. interbtc-ui requires graphql, so I used interbtc-squid. I started squid-indexer using the docker-compose.yml in the indexer path, then executed yarn db:migrate, graphql is at http://localhost:4000/v1/graphql, and started interbtc-ui with this URL as an environment variable. When I visited the vault dashboard, I got an error. I observed that interbtc-ui sent a graphql request, which was
query {
vaults(orderBy: registrationTimestamp_ASC) {
id
registrationTimestamp
}
}
However, the result returned was
{
"errors": [
{
"extensions": {
"path": "$.selectionSet.vaults",
"code": "validation-failed"
},
"message": "field \"vaults\" not found in type: 'query_root'"
}
]
}
So when I access the vault dashbord, an error will be reported.
I checked other requests when accessing vaults, and I found that issues also returned similar errors
{"errors":[{"extensions":{"path":"$.selectionSet.issues","code":"validation-failed"},"message":"field \"issues\" not found in type: 'query_root'"}]}
In schema.graphql, there are no vaults and issues, only vault and issue.
How should I start correctly?
The text was updated successfully, but these errors were encountered:
Hello, I'm trying to start a local test environment.
I started localnet and vault using the docker-compose.yml in interbtc-api, and then I used polkadot-js to mint kBTC according to the method in https://docs.interlay.io/, which all succeeded. Next I tried to go to the vault dashboard to view the vault status, which requires interbtc-ui. interbtc-ui requires graphql, so I used interbtc-squid. I started squid-indexer using the docker-compose.yml in the indexer path, then executed
yarn db:migrate
, graphql is at http://localhost:4000/v1/graphql, and started interbtc-ui with this URL as an environment variable. When I visited the vault dashboard, I got an error. I observed that interbtc-ui sent a graphql request, which wasHowever, the result returned was
So when I access the vault dashbord, an error will be reported.
I checked other requests when accessing vaults, and I found that issues also returned similar errors
In schema.graphql, there are no vaults and issues, only vault and issue.
How should I start correctly?
The text was updated successfully, but these errors were encountered: