From fb3af7014d5db8abeaa91630e3999ebac4d2bc75 Mon Sep 17 00:00:00 2001 From: Danil Kovtonyuk Date: Tue, 16 Nov 2021 17:56:10 +1000 Subject: [PATCH] fix: update deploy --- package.json | 6 ++---- subgraph.yaml | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 40d5396..6b4f194 100644 --- a/package.json +++ b/package.json @@ -4,10 +4,8 @@ "scripts": { "codegen": "graph codegen", "build": "graph build", - "deploy": "graph deploy --node https://api.thegraph.com/deploy/ tornadocash/tornado-pool-subgraph", - "create-local": "graph create --node http://localhost:8020/ tornadocash/tornado-pool-subgraph", - "remove-local": "graph remove --node http://localhost:8020/ tornadocash/tornado-pool-subgraph", - "deploy-local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 tornadocash/tornado-pool-subgraph" + "deploy": "graph deploy --node https://api.thegraph.com/deploy/ --access-token $TOKEN", + "deploy:mainnet": "yarn deploy -- tornadocash/mainnet-tornado-pool-subgraph" }, "dependencies": { "@graphprotocol/graph-cli": "0.22.3", diff --git a/subgraph.yaml b/subgraph.yaml index 23a1135..f938d1d 100644 --- a/subgraph.yaml +++ b/subgraph.yaml @@ -6,9 +6,9 @@ dataSources: name: BridgeHelper network: mainnet source: - address: "0x066D6E8a8968Ab721ee2307acf4cCd2ab6aE6EB0" + address: "0x59c13355ae7b74F51313f2bfF1aFD86E1FFEbefA" abi: BridgeHelper - startBlock: 13551232 + startBlock: 13590277 mapping: kind: ethereum/events apiVersion: 0.0.5