Skip to content

Commit

Permalink
Merge pull request #159 from helix-bridge/xiaoch05-fix-bridge-conflict
Browse files Browse the repository at this point in the history
bugfix: bridge name conflict
  • Loading branch information
xiaoch05 authored Apr 10, 2024
2 parents e7ce0fa + 31eb0f4 commit f7a9be9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions apollo/src/xtoken/transfer.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export class TransferService extends BaseTransferServiceT2 {
chainId: 43,
chain: 'pangolin-dvm',
url: this.darwiniaEthereumBackingUrl,
bridge: 'xtokenbridge',
bridge: 'xtoken-pangolin-sepolia',
symbols: [
{
key: 'PRING',
Expand All @@ -196,7 +196,7 @@ export class TransferService extends BaseTransferServiceT2 {
chainId: 11155111,
chain: 'sepolia',
url: this.darwiniaEthereumIssuingUrl,
bridge: 'xtokenbridge',
bridge: 'xtoken-pangolin-sepolia',
symbols: [
{
key: 'PRING',
Expand Down
6 changes: 3 additions & 3 deletions apollo/src/xtoken/xtoken.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export class xTokenService implements OnModuleInit {
{
fromChain: transfer.chain,
toChain: partner.chain,
bridge: 'xtoken-' + transfer.chain,
bridge: transfer.bridge,
},
{ nonce: 'desc' }
);
Expand Down Expand Up @@ -169,7 +169,7 @@ export class xTokenService implements OnModuleInit {
id: this.genID(transfer.chain, toChain.chain, record.direction, record.id),
fromChain: transfer.chain,
toChain: toChain.chain,
bridge: 'xtoken-' + transfer.chain,
bridge: transfer.bridge,
messageNonce: this.toMessageNonce(record.messageId, record.userNonce),
nonce: latestNonce + 1,
requestTxHash: record.transactionHash,
Expand Down Expand Up @@ -223,7 +223,7 @@ export class xTokenService implements OnModuleInit {
where: {
fromChain: transfer.chain,
toChain: partner.chain,
bridge: `xtoken-${transfer.chain}`,
bridge: transfer.bridge,
responseTxHash: '',
},
})
Expand Down

0 comments on commit f7a9be9

Please sign in to comment.