Skip to content

Commit

Permalink
support zircuit
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoch05 committed Aug 9, 2024
1 parent c4d5860 commit ce7cdf1
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
1 change: 1 addition & 0 deletions apollo/.env.prod
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ DARWINIA_LNV3_ENDPOINT=https://thegraph-g1.darwinia.network/helix/subgraphs/name
BLAST_LNV3_ENDPOINT=https://api.studio.thegraph.com/query/59403/lnv3-blast/v1.0.0
ASTAR_ZKEVM_LNV3_ENDPOINT=https://api.studio.thegraph.com/query/59403/lnv3-astar-zkevm/v1.0.0
MOONBEAM_LNV3_ENDPOINT=https://api.studio.thegraph.com/query/59403/lnv3-moonbeam/v1.0.0
ZIRCUIT_LNV3_ENDPOINT=https://thegraph-g1.darwinia.network/helix/subgraphs/name/lnv3/zircuit
LNV3_ENVIO_ENDPOINT=https://indexer.bigdevenergy.link/e5a45aa/v1/graphql

XTOKEN_DARWINIA_CRAB_BACKING=https://thegraph.darwinia.network/helix/subgraphs/name/xtokentransfer/darwinia-crab-backing
Expand Down
2 changes: 1 addition & 1 deletion apollo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"generate:schema": "ts-node generate-typings.ts && cp src/graphql.schema.ts src/graphql.ts"
},
"dependencies": {
"@helixbridge/helixconf": "1.1.10",
"@helixbridge/helixconf": "1.1.11",
"@nestjs/apollo": "^10.0.9",
"@nestjs/common": "^8.4.6",
"@nestjs/config": "^2.1.0",
Expand Down
9 changes: 9 additions & 0 deletions apollo/src/lnv3/transfer.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,15 @@ export class TransferService extends BaseTransferServiceT2 {
],
chainConfig: HelixChain.base,
},
{
level0Indexers: [
{
indexerType: Level0IndexerType.thegraph,
url: this.zircuitEndpoint,
},
],
chainConfig: HelixChain.zircuit,
},
];

testChainTransfers: PartnerT2[] = [
Expand Down
8 changes: 4 additions & 4 deletions apollo/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -730,10 +730,10 @@
dependencies:
tslib "^2.4.0"

"@helixbridge/[email protected].10":
version "1.1.10"
resolved "https://registry.yarnpkg.com/@helixbridge/helixconf/-/helixconf-1.1.10.tgz#9c1a2781a19cbb47272a799dcd9865c4b31f5145"
integrity sha512-wDRCsWKo0dmiMPCufD9qI+z/7fwZAEDYDNVmn6ttnBokNK0bVH5xSBKOVuhc5colHiiYuUlllWXYt1Yabi6cnQ==
"@helixbridge/[email protected].11":
version "1.1.11"
resolved "https://registry.yarnpkg.com/@helixbridge/helixconf/-/helixconf-1.1.11.tgz#f64330ceb2c1d7835b70873bae4d0e42c61bd366"
integrity sha512-qNtIzc0CUMhpOIO6DDpJRMTLOlKD3WHcVSkAJOERAQkv0f1RvJHF7TwpJEDcSSUCXHOiAX0DiFb5skGh16p7xA==

"@istanbuljs/load-nyc-config@^1.0.0":
version "1.1.0"
Expand Down
1 change: 1 addition & 0 deletions subgraph/lnv3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"build-blast": "sh generate.sh blast-mainnet 0xB180D7DcB5CC161C862aD60442FA37527546cAFC 459939 && graph codegen && graph build",
"build-astar-zkevm": "sh generate.sh astar-zkevm-mainnet 0xD476650e03a45E70202b0bcAfa04E1513920f83a 1039985 && graph codegen && graph build",
"build-moonbeam": "sh generate.sh moonbeam 0xbA5D580B18b6436411562981e02c8A9aA1776D10 6154143 && graph codegen && graph build",
"build-zircuit": "sh generate.sh zircuit 0xbA5D580B18b6436411562981e02c8A9aA1776D10 1579391 && graph codegen && graph build",
"create-remote-dev": "graph create --access-token ${KEY} --node https://thegraph-g2.darwinia.network/helix/deploy/ lnv3/${NETWORK}",
"deploy-remote-dev": "graph deploy --access-token $KEY --node https://thegraph-g2.darwinia.network/helix/deploy/ --ipfs https://ipfs.network.thegraph.com lnv3/$NETWORK",
"create-remote-pro": "graph create --access-token ${KEY} --node https://thegraph.darwinia.network/helix/deploy/ lnv3/${NETWORK}",
Expand Down

0 comments on commit ce7cdf1

Please sign in to comment.