Skip to content

Commit

Permalink
fix astrochain usdc whale address
Browse files Browse the repository at this point in the history
  • Loading branch information
jsy1218 committed Oct 10, 2024
1 parent abd40a5 commit 23e2f5b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4243,7 +4243,7 @@ describe('quote for other networks', () => {
const native = NATIVE_CURRENCY[chain];

it(`${native} -> erc20`, async () => {
if (chain === ChainId.SEPOLIA) {
if (chain === ChainId.SEPOLIA || chain === ChainId.ASTROCHAIN_SEPOLIA) {
// Sepolia doesn't have sufficient liquidity on DAI pools yet
return;
}
Expand All @@ -4254,7 +4254,7 @@ describe('quote for other networks', () => {
const tokenOut = chain == ChainId.BASE || chain == ChainId.ZORA ? USDC_ON(chain) : erc2;
const amount =
tradeType == TradeType.EXACT_INPUT
? parseAmount(chain === ChainId.WORLDCHAIN || chain === ChainId.ASTROCHAIN_SEPOLIA ? '0.001' : '1', tokenIn)
? parseAmount(chain === ChainId.WORLDCHAIN ? '0.001' : '1', tokenIn)
: parseAmount('1', tokenOut);

// Universal Router is not deployed on Gorli.
Expand Down
5 changes: 4 additions & 1 deletion test/test-util/whales.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ import {
USDC_ON,
USDC_WORLDCHAIN,
USDC_ZORA,
USDT_MAINNET, V4_SEPOLIA_TEST_A,
USDT_MAINNET,
V4_SEPOLIA_TEST_A,
WETH9,
WLD_WORLDCHAIN,
WNATIVE_ON
Expand Down Expand Up @@ -108,6 +109,8 @@ export const WHALES = (token: Currency): string => {
return '0xbC59f8F3b275AA56A90D13bAE7cCe5e6e11A3b17';
case USDC_NATIVE_BASE:
return '0x20fe51a9229eef2cf8ad9e89d91cab9312cf3b7a';
case USDC_ON(ChainId.ASTROCHAIN_SEPOLIA):
return '0xca8cA8840c77589981E63f4D8122fFEc4b74e2a1';
case DAI_ON(ChainId.GOERLI):
return '0x20918f71e99c09ae2ac3e33dbde33457d3be01f4';
case DAI_ON(ChainId.SEPOLIA):
Expand Down

0 comments on commit 23e2f5b

Please sign in to comment.