From dc0c0135e1eed521897d75a973cb94da43a985ea Mon Sep 17 00:00:00 2001 From: xiaoch05 Date: Tue, 5 Nov 2024 17:51:52 +0800 Subject: [PATCH] repair testnet --- apollo/package.json | 2 +- apollo/src/lnv3/transfer.service.ts | 11 ++++++++++- apollo/yarn.lock | 8 ++++---- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/apollo/package.json b/apollo/package.json index 915ae05..cd3834c 100644 --- a/apollo/package.json +++ b/apollo/package.json @@ -29,7 +29,7 @@ "generate:schema": "ts-node generate-typings.ts && cp src/graphql.schema.ts src/graphql.ts" }, "dependencies": { - "@helixbridge/helixconf": "1.1.18", + "@helixbridge/helixconf": "1.2.0-beta", "@nestjs/apollo": "^10.0.9", "@nestjs/common": "^8.4.6", "@nestjs/config": "^2.1.0", diff --git a/apollo/src/lnv3/transfer.service.ts b/apollo/src/lnv3/transfer.service.ts index 969c9cc..41ac2e4 100644 --- a/apollo/src/lnv3/transfer.service.ts +++ b/apollo/src/lnv3/transfer.service.ts @@ -312,7 +312,7 @@ export class TransferService extends BaseTransferServiceT2 { url: this.superindexEndpoint, }, ], - chainConfig: HelixChain.morph, + chainConfig: HelixChain.morphTestnet, }, { level0Indexers: [ @@ -341,6 +341,15 @@ export class TransferService extends BaseTransferServiceT2 { ], chainConfig: HelixChain.zircuitSepolia, }, + { + level0Indexers: [ + { + indexerType: Level0IndexerType.superindex, + url: this.superindexEndpoint, + }, + ], + chainConfig: HelixChain.celoTestnet, + }, ]; readonly addressToTokenInfo: { [key: string]: AddressTokenMap } = {}; diff --git a/apollo/yarn.lock b/apollo/yarn.lock index fab97a0..d4a4864 100644 --- a/apollo/yarn.lock +++ b/apollo/yarn.lock @@ -742,10 +742,10 @@ dependencies: tslib "^2.4.0" -"@helixbridge/helixconf@1.1.18": - version "1.1.18" - resolved "https://registry.yarnpkg.com/@helixbridge/helixconf/-/helixconf-1.1.18.tgz#d756d9394c0190e373a4f04d8e582a76bd5f20cc" - integrity sha512-3o4urkcBMMs5JGuDrgcnRt909LWHhlVkMpVodQU5m4tm94trETnmf1dvHhSZGA/TBGffeC/82UMdqmx/w2NnEg== +"@helixbridge/helixconf@1.2.0-beta": + version "1.2.0-beta" + resolved "https://registry.yarnpkg.com/@helixbridge/helixconf/-/helixconf-1.2.0-beta.tgz#4f46ac1c33af3717710ac3ffe7f036f6ddf244e9" + integrity sha512-YuFOhX33quFUwOvduSzo01ul7SWus2OicDTulJLbPdg000Qs37s0WJ80n1fK8FSDgvBMToC8oaxnimwTl6fT9Q== "@istanbuljs/load-nyc-config@^1.0.0": version "1.1.0"