Skip to content

Commit

Permalink
update testnet config
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoch05 committed Jul 23, 2024
1 parent b27f1ad commit 0242d98
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 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.0.1",
"@helixbridge/helixconf": "1.0.2",
"@nestjs/apollo": "^10.0.9",
"@nestjs/common": "^8.4.6",
"@nestjs/config": "^2.1.0",
Expand Down
6 changes: 3 additions & 3 deletions apollo/src/lnv2/lnv2.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -578,15 +578,15 @@ export class Lnv2Service implements OnModuleInit {
) ?? null;
if (couple === null) {
this.logger.warn(
`target info not find ${transfer.chainConfig.code}-${sourceAddress}->${targetChainId}-${targetAddress}`
`[${bridgeType}] target info not find ${transfer.chainConfig.code}-${sourceAddress}->${targetChainId}-${targetAddress}`
);
return null;
}
// verify targetAddress
const targetPartner = this.findPartnerByChainId(targetChainId);
if (targetPartner === null) {
this.logger.warn(
`targetPartner not find ${transfer.chainConfig.code}-${sourceAddress}->${targetChainId}-${targetAddress}`
`[${bridgeType}] targetPartner not find ${transfer.chainConfig.code}-${sourceAddress}->${targetChainId}-${targetAddress}`
);
return null;
}
Expand All @@ -596,7 +596,7 @@ export class Lnv2Service implements OnModuleInit {
) ?? null;
if (targetInfo?.symbol.toLowerCase() !== couple.symbol.to.toLowerCase()) {
this.logger.warn(
`verify target token failed ${transfer.chainConfig.code}-${sourceAddress}->${targetChainId}-${targetAddress}, symbol ${targetInfo?.symbol}, couple-to ${couple.symbol.to}`
`[${bridgeType}] verify target token failed ${transfer.chainConfig.code}-${sourceAddress}->${targetChainId}-${targetAddress}, symbol ${targetInfo?.symbol}, couple-to ${couple.symbol.to}`
);
return null;
}
Expand Down
5 changes: 0 additions & 5 deletions apollo/src/lnv3/transfer.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,6 @@ export class TransferService extends BaseTransferServiceT2 {
indexerUrl: this.morphEndpoint,
chainConfig: HelixChain.morph,
},
{
level0Indexer: Level0Indexer.ponder,
indexerUrl: this.morphEndpoint,
chainConfig: HelixChain.morph,
},
{
level0Indexer: Level0Indexer.thegraph,
indexerUrl: this.baseEndpoint,
Expand Down

0 comments on commit 0242d98

Please sign in to comment.