Skip to content

Commit

Permalink
fix: use correct address for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiTimesChi committed Dec 18, 2024
1 parent 99c8f51 commit 054f9c9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions packages/sdk-router/src/constants/testValues.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ export const AVAX_GOHM = '0x321E7092a180BB43555132ec53AaA65a5bF84251'
export const AVAX_USDC = '0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E'
export const AVAX_USDC_E = '0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664'
export const AVAX_GMX = '0x62edc0692BD897D2295872a9FFCac5425011c661'
// Token addresses on BOBA mainnet
export const BOBA_USDC = '0x66a2A913e447d6b4BF33EFbec43aAeF87890FBbc'
// Token addresses on BSC mainnet
export const BSC_GOHM = '0x88918495892BAF4536611E38E75D771Dc6Ec0863'
export const BSC_USDC = '0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d'
Expand Down
7 changes: 4 additions & 3 deletions packages/sdk-router/src/sdk.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import {
AVAX_GOHM,
AVAX_USDC,
AVAX_USDC_E,
BOBA_USDC,
BSC_GOHM,
BSC_USDC,
ETH_DAI,
Expand Down Expand Up @@ -1836,7 +1837,7 @@ describe('Paused Chain Tests', () => {
synapseSDK.bridgeQuote(
SupportedChainId.BOBA, // Paused chain as origin
SupportedChainId.ETH,
ARB_USDC, // Example token addresses
BOBA_USDC, // Example token addresses
ETH_USDC,
parseFixed('100', 6)
)
Expand All @@ -1849,7 +1850,7 @@ describe('Paused Chain Tests', () => {
SupportedChainId.ETH,
SupportedChainId.BOBA, // Paused chain as destination
ETH_USDC,
ARB_USDC,
BOBA_USDC,
parseFixed('100', 6)
)
).rejects.toThrow('No route found')
Expand All @@ -1859,7 +1860,7 @@ describe('Paused Chain Tests', () => {
const quotes = await synapseSDK.allBridgeQuotes(
SupportedChainId.BOBA, // Paused chain
SupportedChainId.ETH,
ARB_USDC,
BOBA_USDC,
ETH_USDC,
parseFixed('100', 6)
)
Expand Down

0 comments on commit 054f9c9

Please sign in to comment.