Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add dictionary endpoint to deployment #80

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/subql_deploy_workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
echo "SUBQL_PROJ_NAME=$(yq '.name' project.yaml)" >> $GITHUB_ENV
echo "SUBQL_PROJ_DECRIPTION=$(yq '.description' project.yaml)" >> $GITHUB_ENV
echo "SUBQL_ENDPOINT=$(yq '.network.endpoint' project.yaml)" >> $GITHUB_ENV
echo "SUBQL_DICTIONARY=$(yq '.network.dictionary' project.yaml)" >> $GITHUB_ENV
- name: Setup Node
uses: actions/setup-node@v3
with:
Expand Down Expand Up @@ -88,4 +89,5 @@ jobs:
--type=$SUBQL_DEPLOYMENT_TYPE \
--disableHistorical \
--indexerVersion="$SUBQL_INDEXER_VERSION" \
--queryVersion="$SUBQL_QUERY_VERSION"
--queryVersion="$SUBQL_QUERY_VERSION" \
--dict="$SUBQL_DICTIONARY"
2 changes: 2 additions & 0 deletions chains/base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ description: 'SubQuery API powered by EMBRIO.tech to query Centrifuge chain data
repository: https://github.com/centrifuge/pools-subql
schema:
file: ./schema.graphql
network:
dictionary: ''
dataSources:
- kind: substrate/Runtime
startBlock: 1
Expand Down
1 change: 1 addition & 0 deletions chains/centrifuge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ network:
chainId: '0xb3db41421702df9a7fcac62b53ffeac85f7853cc4e689e0b93aeb3db18c09d82'
chaintypes:
file: ./dist/chaintypes.js
dictionary: https://api.subquery.network/sq/centrifuge/centrifuge-dictionary
dataSources:
- kind: substrate/Runtime
startBlock: 3824709 # block Anemoy was created at