From b485623944b1a636aa11596025ec8979828ce41c Mon Sep 17 00:00:00 2001 From: xiaoch05 Date: Wed, 21 Aug 2024 15:12:16 +0800 Subject: [PATCH] add bera testnet --- apollo/package.json | 2 +- apollo/src/lnv3/transfer.service.ts | 10 +++++++++- apollo/yarn.lock | 8 ++++---- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/apollo/package.json b/apollo/package.json index 877fd78..4c61ce4 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.11", + "@helixbridge/helixconf": "1.1.13", "@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 d51f13c..b3efac9 100644 --- a/apollo/src/lnv3/transfer.service.ts +++ b/apollo/src/lnv3/transfer.service.ts @@ -19,7 +19,6 @@ export class TransferService extends BaseTransferServiceT2 { private readonly darwiniaEndpoint = this.configService.get('DARWINIA_LNV3_ENDPOINT'); private readonly blastEndpoint = this.configService.get('BLAST_LNV3_ENDPOINT'); private readonly baseEndpoint = this.configService.get('BASE_LNV3_ENDPOINT'); - private readonly beraEndpoint = this.configService.get('BERA_LNV3_ENDPOINT'); private readonly taikoEndpoint = this.configService.get('TAIKO_LNV3_ENDPOINT'); private readonly astarZkEVMEndpoint = this.configService.get('ASTAR_ZKEVM_LNV3_ENDPOINT'); private readonly morphEndpoint = this.configService.get('MORPH_LNV3_ENDPOINT'); @@ -254,6 +253,15 @@ export class TransferService extends BaseTransferServiceT2 { ], chainConfig: HelixChain.morph, }, + { + level0Indexers: [ + { + indexerType: Level0IndexerType.superindex, + url: this.superindexEndpoint, + }, + ], + chainConfig: HelixChain.bera, + }, { level0Indexers: [ { diff --git a/apollo/yarn.lock b/apollo/yarn.lock index 455c7e3..be6139a 100644 --- a/apollo/yarn.lock +++ b/apollo/yarn.lock @@ -730,10 +730,10 @@ dependencies: tslib "^2.4.0" -"@helixbridge/helixconf@1.1.11": - version "1.1.11" - resolved "https://registry.yarnpkg.com/@helixbridge/helixconf/-/helixconf-1.1.11.tgz#f64330ceb2c1d7835b70873bae4d0e42c61bd366" - integrity sha512-qNtIzc0CUMhpOIO6DDpJRMTLOlKD3WHcVSkAJOERAQkv0f1RvJHF7TwpJEDcSSUCXHOiAX0DiFb5skGh16p7xA== +"@helixbridge/helixconf@1.1.13": + version "1.1.13" + resolved "https://registry.yarnpkg.com/@helixbridge/helixconf/-/helixconf-1.1.13.tgz#69c1861fb4d36f5530a928098b127c881da3a21e" + integrity sha512-gF9bwHQJyvbimfRIFDBk3cefEZC4QCuOBb71IZlD5zDyGETarMZjWW19ITDuzT9895pYemrbW6OgRofZBBF7pg== "@istanbuljs/load-nyc-config@^1.0.0": version "1.1.0"