Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
ci: fix chains
Browse files Browse the repository at this point in the history
  • Loading branch information
filo87 committed Dec 21, 2023
1 parent 09927c4 commit 0be2ce8
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 15 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/subql_deploy_workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ jobs:
- name: SubQL CLI Version
run: yarn subql --version
- name: Generate new project-centrifuge.yaml
run: 'yq ". *=d load(\"chains-cfg/$CHAIN_ID.yaml\")" chains-cfg/_root.yaml > project-centrifuge.yaml || return 0'
run: 'yq ". *=d load(\"chains-cfg/$CHAIN_ID.yaml\")" chains-cfg/_root.yaml > project-centrifuge.yaml || true'
- name: Generate new project-ethereum.yaml
run: '[ -e chains-evm/eth/$CHAIN_ID.yaml ] && yq ". *=d load(\"chains-evm/eth/$CHAIN_ID.yaml\")" chains-evm/_root.yaml > project-ethereum.yaml || return 0'
run: '[ -e chains-evm/eth/$CHAIN_ID.yaml ] && yq ". *=d load(\"chains-evm/eth/$CHAIN_ID.yaml\")" chains-evm/_root.yaml > project-ethereum.yaml || true'
- name: Generate new project-base.yaml
run: '[ -e chains-evm/base/$CHAIN_ID.yaml ] && yq ". *=d load(\"chains-evm/base/$CHAIN_ID.yaml\")" chains-evm/_root.yaml > project-base.yaml || return 0'
run: '[ -e chains-evm/base/$CHAIN_ID.yaml ] && yq ". *=d load(\"chains-evm/base/$CHAIN_ID.yaml\")" chains-evm/_root.yaml > project-base.yaml || true'
- name: Extract Chain Parameters to ENV
run: |
echo "SUBQL_PROJ_NAME=$(yq '.name' project-centrifuge.yaml)" >> $GITHUB_ENV
Expand All @@ -84,9 +84,9 @@ jobs:
- name: Publish SubQL version
run: |
npx subql publish -o -f .
echo "CFG_IPFSCID=$(cat .project-centrifuge-cid)" >> $GITHUB_ENV || return 0
echo "ETH_IPFSCID=$(cat .project-ethereum-cid)" >> $GITHUB_ENV || return 0
echo "BASE_IPFSCID=$(cat .project-base-cid)" >> $GITHUB_ENV || return 0
echo "CFG_IPFSCID=$(cat .project-centrifuge-cid)" >> $GITHUB_ENV || true
echo "ETH_IPFSCID=$(cat .project-ethereum-cid)" >> $GITHUB_ENV || true
echo "BASE_IPFSCID=$(cat .project-base-cid)" >> $GITHUB_ENV || true
- name: Delete Project
if: ${{ inputs.resetProject }}
run: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
network:
chainId: '84531' #Goerli
chainId: '8453' #Goerli
endpoint: https://mainnet.base.org
dictionary: "https://api.subquery.network/sq/subquery/base-dictionary"
dataSources:
- kind: ethereum/Runtime
startBlock: 13078300
startBlock: 8053055
options:
address: '0x78E9e622A57f70F1E0Ec652A4931E4e278e58142'
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
network:
chainId: '84531' #Goerli
chainId: '84531' #Base Goerli
endpoint: https://goerli.base.org
dictionary: "https://api.subquery.network/sq/subquery/base-goerli-dictionary"
dataSources:
- kind: ethereum/Runtime
startBlock: 13078300
startBlock: 13078300
options:
address: '0xa5Beda1F48a07740b8f4bDb223C861Cc7702b14e'
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ dataSources:
- kind: ethereum/Runtime
startBlock: 13078300
options:
address: '0x53c155d44C03CC28f892f90aA0C442850716D75F'
address: '0x78E9e622A57f70F1E0Ec652A4931E4e278e58142'
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
network:
chainId: '1' # Ethereum Mainnet
endpoint: "https://goerli.infura.io/v3/a4ba76cd4be643618572e7467a444e3a"
endpoint: "https://mainnet.infura.io/v3/a4ba76cd4be643618572e7467a444e3a"
dictionary: "https://gx.api.subquery.network/sq/subquery/eth-dictionary"
dataSources:
- kind: ethereum/Runtime
Expand Down
4 changes: 2 additions & 2 deletions chains-evm/chains-eth/demo.yaml → chains-evm/eth/demo.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
network:
chainId: '5' #Goerli
endpoint: "https://goerli.infura.io/v3/${ETH_NODE_API_KEY}"
chainId: '5' #Ethereum Goerli
endpoint: "https://goerli.infura.io/v3/a4ba76cd4be643618572e7467a444e3a"
dictionary: "https://dict-tyk.subquery.network/query/eth-goerli"
dataSources:
- kind: ethereum/Runtime
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ network:
dictionary: "https://dict-tyk.subquery.network/query/eth-goerli"
dataSources:
- kind: ethereum/Runtime
startBlock: 18671269
startBlock: 10055835
options:
address: '0x53c155d44C03CC28f892f90aA0C442850716D75F'

0 comments on commit 0be2ce8

Please sign in to comment.