Skip to content

Commit

Permalink
chore: bump sor to 4.6.0 - feat: tenderly support astrochain sepolia now
Browse files Browse the repository at this point in the history
  • Loading branch information
jsy1218 committed Oct 9, 2024
1 parent 254211b commit 67767f4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"@uniswap/router-sdk": "^1.14.0",
"@uniswap/sdk-core": "^5.8.0",
"@types/semver": "^7.5.8",
"@uniswap/smart-order-router": "4.5.3",
"@uniswap/smart-order-router": "4.6.0",
"@uniswap/token-lists": "^1.0.0-beta.33",
"@uniswap/universal-router-sdk": "^4.3.2",
"@uniswap/v2-sdk": "^4.6.1",
Expand Down
9 changes: 5 additions & 4 deletions test/mocha/e2e/quote.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2850,8 +2850,7 @@ describe('quote', function () {
// We will follow up supporting ZORA and ROOTSTOCK
c != ChainId.ZORA_SEPOLIA &&
c != ChainId.ROOTSTOCK &&
c != ChainId.GOERLI &&
c != ChainId.ASTROCHAIN_SEPOLIA
c != ChainId.GOERLI
)) {
for (const type of TRADE_TYPES) {
const erc1 = TEST_ERC20_1[chain]()
Expand Down Expand Up @@ -2960,7 +2959,8 @@ describe('quote', function () {
}

// Current WETH/USDB pool (https://blastscan.io/address/0xf52b4b69123cbcf07798ae8265642793b2e8990c) has low WETH amount
const amount = type === 'exactOut' && chain === ChainId.BLAST ? '0.002' : '1'
const amount =
type === 'exactOut' && (chain === ChainId.BLAST || chain === ChainId.ASTROCHAIN_SEPOLIA) ? '0.002' : '1'

const quoteReq: QuoteQueryParams = {
tokenInAddress: erc1.address,
Expand Down Expand Up @@ -3098,7 +3098,8 @@ describe('quote', function () {
}

// Current WETH/USDB pool (https://blastscan.io/address/0xf52b4b69123cbcf07798ae8265642793b2e8990c) has low WETH amount
const amount = type === 'exactOut' && chain === ChainId.BLAST ? '0.002' : '1'
const amount =
type === 'exactOut' && (chain === ChainId.BLAST || chain === ChainId.ASTROCHAIN_SEPOLIA) ? '0.002' : '1'

const quoteReq: QuoteQueryParams = {
tokenInAddress: erc1.address,
Expand Down

0 comments on commit 67767f4

Please sign in to comment.