From f5ef2a9def4bee94a0a878f4b08e3781c5e9ae70 Mon Sep 17 00:00:00 2001 From: tommyzhao451 Date: Thu, 19 Dec 2024 10:53:51 -0800 Subject: [PATCH] switch manta and scroll to pruned subgraph --- package.json | 2 +- src/providers/v3/subgraph-provider.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index a00cb4129..a2b8278ee 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@aperture_finance/uniswap-smart-order-router", - "version": "0.3.1", + "version": "0.3.2", "description": "Uniswap Smart Order Router", "main": "build/main/index.js", "typings": "build/main/index.d.ts", diff --git a/src/providers/v3/subgraph-provider.ts b/src/providers/v3/subgraph-provider.ts index 2b40978a8..41d35575d 100644 --- a/src/providers/v3/subgraph-provider.ts +++ b/src/providers/v3/subgraph-provider.ts @@ -67,9 +67,9 @@ const SUBGRAPH_URL_BY_CHAIN: { [chainId in ChainId]?: string } = { [ChainId.MANTA_PACIFIC_TESTNET]: 'https://d3lcl3uht06cq4.cloudfront.net/subgraphs/name/aperture/uniswap-v3', [ChainId.MANTA_PACIFIC]: - 'https://api.goldsky.com/api/public/project_clnz7akg41cv72ntv0uhyd3ai/subgraphs/aperture-manta-pacific/uniswap-v3/gn', + 'https://api.goldsky.com/api/public/project_clnz7akg41cv72ntv0uhyd3ai/subgraphs/pruned-manta-pacific-mainnet/0.0.2/gn', [ChainId.SCROLL]: - 'https://api.goldsky.com/api/public/project_clnz7akg41cv72ntv0uhyd3ai/subgraphs/aperture-scroll/uniswap-v3/gn', + 'https://api.goldsky.com/api/public/project_clnz7akg41cv72ntv0uhyd3ai/subgraphs/pruned-scroll-mainnet/0.0.1/gn', }; const PAGE_SIZE = 1000; // 1k is max possible query size from subgraph.