Skip to content

Commit

Permalink
add bera testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoch05 committed Aug 21, 2024
1 parent b40f602 commit b485623
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
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.11",
"@helixbridge/helixconf": "1.1.13",
"@nestjs/apollo": "^10.0.9",
"@nestjs/common": "^8.4.6",
"@nestjs/config": "^2.1.0",
Expand Down
10 changes: 9 additions & 1 deletion apollo/src/lnv3/transfer.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export class TransferService extends BaseTransferServiceT2 {
private readonly darwiniaEndpoint = this.configService.get<string>('DARWINIA_LNV3_ENDPOINT');
private readonly blastEndpoint = this.configService.get<string>('BLAST_LNV3_ENDPOINT');
private readonly baseEndpoint = this.configService.get<string>('BASE_LNV3_ENDPOINT');
private readonly beraEndpoint = this.configService.get<string>('BERA_LNV3_ENDPOINT');
private readonly taikoEndpoint = this.configService.get<string>('TAIKO_LNV3_ENDPOINT');
private readonly astarZkEVMEndpoint = this.configService.get<string>('ASTAR_ZKEVM_LNV3_ENDPOINT');
private readonly morphEndpoint = this.configService.get<string>('MORPH_LNV3_ENDPOINT');
Expand Down Expand Up @@ -254,6 +253,15 @@ export class TransferService extends BaseTransferServiceT2 {
],
chainConfig: HelixChain.morph,
},
{
level0Indexers: [
{
indexerType: Level0IndexerType.superindex,
url: this.superindexEndpoint,
},
],
chainConfig: HelixChain.bera,
},
{
level0Indexers: [
{
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].11":
version "1.1.11"
resolved "https://registry.yarnpkg.com/@helixbridge/helixconf/-/helixconf-1.1.11.tgz#f64330ceb2c1d7835b70873bae4d0e42c61bd366"
integrity sha512-qNtIzc0CUMhpOIO6DDpJRMTLOlKD3WHcVSkAJOERAQkv0f1RvJHF7TwpJEDcSSUCXHOiAX0DiFb5skGh16p7xA==
"@helixbridge/[email protected].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"
Expand Down

0 comments on commit b485623

Please sign in to comment.