From 7c40b2cd5b1339d96ea3c5e0d7ffd82dd51d4731 Mon Sep 17 00:00:00 2001 From: Ludovic Levalleux Date: Fri, 12 Apr 2024 17:00:09 +0100 Subject: [PATCH] move amoy subgraph from hosted-service to the graph network (tempo) --- packages/common/src/configs.ts | 8 ++++---- packages/subgraph/package.json | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/common/src/configs.ts b/packages/common/src/configs.ts index c95a78b03..f8a7cdfdc 100644 --- a/packages/common/src/configs.ts +++ b/packages/common/src/configs.ts @@ -47,12 +47,12 @@ export const envConfigs: Record = { configId: "testing-80002-0", sellersBlackList: "https://raw.githubusercontent.com/BAppLimited/curationLists/main/bosonApp.io/testing-80002-0/sellers/blacklist.json", - defaultDisputeResolverId: "1", // TODO: to be confirmed + defaultDisputeResolverId: "1", defaultTokens: chainIdToDefaultTokens.get(80002), nativeCoin: chainIdToInfo.get(80002), getTxExplorerUrl: chainIdToGraphTx.get(80002), subgraphUrl: - "https://api.thegraph.com/subgraphs/name/bosonprotocol/amoy-testing", + "https://api.studio.thegraph.com/query/71250/llx-amoy-testing/v0.0.1", jsonRpcUrl: "https://polygon-amoy.infura.io/v3/b832a48b9bce4aa6bd9da86eb0126300", theGraphIpfsUrl: "https://api.thegraph.com/ipfs/api/v0", @@ -101,12 +101,12 @@ export const envConfigs: Record = { configId: "staging-80002-0", sellersBlackList: "https://raw.githubusercontent.com/BAppLimited/curationLists/main/bosonApp.io/staging-80002-0/sellers/blacklist.json", - defaultDisputeResolverId: "1", // TODO: to be confirmed + defaultDisputeResolverId: "1", defaultTokens: chainIdToDefaultTokens.get(80002), nativeCoin: chainIdToInfo.get(80002), getTxExplorerUrl: chainIdToGraphTx.get(80002), subgraphUrl: - "https://api.thegraph.com/subgraphs/name/bosonprotocol/amoy-staging", + "https://api.studio.thegraph.com/query/71250/llx-amoy-staging/v0.0.1", jsonRpcUrl: "https://polygon-amoy.infura.io/v3/b832a48b9bce4aa6bd9da86eb0126300", theGraphIpfsUrl: "https://api.thegraph.com/ipfs/api/v0", diff --git a/packages/subgraph/package.json b/packages/subgraph/package.json index 8fd0ab99d..8d22dc36d 100644 --- a/packages/subgraph/package.json +++ b/packages/subgraph/package.json @@ -28,9 +28,9 @@ "create:local": "graph create --node http://localhost:8020/ boson/corecomponents", "remove:local": "graph remove --node http://localhost:8020/ boson/corecomponents", "deploy:local": "npm run manifest:local && npm run create:local && graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 boson/corecomponents -l 0.0.1", - "deploy:testing:amoy": "npm run manifest:testing:amoy && graph deploy --node https://api.thegraph.com/deploy/ --product hosted-service --ipfs https://api.thegraph.com/ipfs/ bosonprotocol/amoy-testing", + "deploy:testing:amoy": "npm run manifest:testing:amoy && graph deploy --studio --ipfs https://api.thegraph.com/ipfs/ -l v0.0.1 llx-amoy-testing", "deploy:testing:sepolia": "npm run manifest:testing:sepolia && graph deploy --node https://api.thegraph.com/deploy/ --product hosted-service --ipfs https://api.thegraph.com/ipfs/ bosonprotocol/sepolia-testing", - "deploy:staging:amoy": "npm run manifest:staging:amoy && graph deploy --node https://api.thegraph.com/deploy/ --product hosted-service --ipfs https://api.thegraph.com/ipfs/ bosonprotocol/amoy-staging", + "deploy:staging:amoy": "npm run manifest:staging:amoy && graph deploy --studio --ipfs https://api.thegraph.com/ipfs/ -l v0.0.1 llx-amoy-staging", "deploy:staging:sepolia": "npm run manifest:staging:sepolia && graph deploy --node https://api.thegraph.com/deploy/ --product hosted-service --ipfs https://api.thegraph.com/ipfs/ bosonprotocol/sepolia-staging", "deploy:production": "npm run manifest:production && graph deploy --node https://api.thegraph.com/deploy/ --product hosted-service --ipfs https://api.thegraph.com/ipfs/ bosonprotocol/polygon", "deploy:production:ethereum": "npm run manifest:production:ethereum && graph deploy --node https://api.thegraph.com/deploy/ --product hosted-service --ipfs https://api.thegraph.com/ipfs/ bosonprotocol/ethereum",