Skip to content

Commit

Permalink
Update subql versions (#69)
Browse files Browse the repository at this point in the history
* chore: update chain lookup

* chore: update genesis hash and types

* fix: decimals in external loan  amount

* refactor: convert amount into pool currency

* refactor: move WAD division to end of line

* chore: update subql versions

* chore: activate actions on branch

* chore: updo trigger test

---------

Co-authored-by: Filippo Fontana <[email protected]>
Co-authored-by: Filippo <[email protected]>
  • Loading branch information
3 people authored Oct 18, 2023
1 parent 0caa129 commit 1821d0a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
name: Deploy to SubQL (EMBRIO staging)
strategy:
matrix:
chainId: [ development-embrio ] # ADD ARRAY OF CHAINS TO DEPLOY
chainId: [development-embrio] # ADD ARRAY OF CHAINS TO DEPLOY
uses: ./.github/workflows/subql_deploy_workflow.yaml
with:
chainId: ${{ matrix.chainId }}
Expand All @@ -29,13 +29,13 @@ jobs:
resetProject: true
secrets:
accessToken: ${{ secrets.SUBQL_ACCESS_TOKEN }}

subql_deploy_centrifuge_staging:
if: ${{ github.repository == 'centrifuge/pools-subql' && github.ref_name == 'main' }}
name: Deploy to SubQL (CENTRIFUGE staging)
strategy:
matrix:
chainId: [ development, demo ] # ADD ARRAY OF CHAINS TO DEPLOY
chainId: [development, demo] # ADD ARRAY OF CHAINS TO DEPLOY
uses: ./.github/workflows/subql_deploy_workflow.yaml
with:
chainId: ${{ matrix.chainId }}
Expand All @@ -51,7 +51,7 @@ jobs:
name: Deploy to SubQL (CENTRIFUGE mainnet)
strategy:
matrix:
chainId: [ altair, catalyst, centrifuge ] # ADD ARRAY OF CHAINS TO DEPLOY
chainId: [altair, catalyst, centrifuge] # ADD ARRAY OF CHAINS TO DEPLOY
uses: ./.github/workflows/subql_deploy_workflow.yaml
with:
chainId: ${{ matrix.chainId }}
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/subql_deploy_workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,12 @@ on:
accessToken:
required: true


jobs:
subql_deploy_workflow:
runs-on: ubuntu-latest
env:
SUBQL_INDEXER_VERSION: v1.21.1
SUBQL_QUERY_VERSION: v1.11.0
SUBQL_INDEXER_VERSION: v3.0.7
SUBQL_QUERY_VERSION: v2.6.0
CHAIN_ID: ${{ inputs.chainId }}
SUBQL_ACCESS_TOKEN: ${{ secrets.accessToken }}
SUBQL_PROJ_ORG: ${{ inputs.projOrg }}
Expand Down Expand Up @@ -88,4 +87,4 @@ jobs:
--type=$SUBQL_DEPLOYMENT_TYPE \
--disableHistorical \
--indexerVersion="$SUBQL_INDEXER_VERSION" \
--queryVersion="$SUBQL_QUERY_VERSION"
--queryVersion="$SUBQL_QUERY_VERSION"
4 changes: 2 additions & 2 deletions chains/base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ version: 1.0.0
runner:
node:
name: '@subql/node'
version: '1'
version: '3.0.7'
query:
name: '@subql/query'
version: '1'
version: '2.6.0'
description: 'SubQuery API powered by EMBRIO.tech to query Centrifuge chain data for analytics insights on how Centrifuge is unlocking economic opportunity for all by connecting people to borrow and lend money transparently and cost-effectively.'
repository: https://github.com/centrifuge/pools-subql
schema:
Expand Down

0 comments on commit 1821d0a

Please sign in to comment.