From a8c2dcfa441a2096dd4c8f0dcb159b76dffd3413 Mon Sep 17 00:00:00 2001 From: Paul Gebheim Date: Mon, 4 Oct 2021 22:14:40 +0000 Subject: [PATCH] Fix for grouped market thing --- packages/subgraph/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/subgraph/package.json b/packages/subgraph/package.json index 238472b39..24ef3e8d0 100644 --- a/packages/subgraph/package.json +++ b/packages/subgraph/package.json @@ -14,7 +14,8 @@ "deploy:matic": "graph deploy --debug --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/ augurproject/augur-turbo-matic", "deploy:staging": "graph deploy --debug --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/ augurproject/augur-turbo-matic-staging", "deploy:local": "graph deploy --debug --ipfs http://localhost:5001 --node http://127.0.0.1:8020 augurproject/augur-turbo-kovan", - "prepare:abis": "rsync -v ../smart/abi/contracts/**/**/*.json abis/ && sed -i '' -e 's/\\[\\]\\[\\]/[]/g' 'abis/GroupedMarketFactoryV3.json'", + "prepare:abis": "rsync -v ../smart/abi/contracts/**/**/*.json abis/ && yarn prepare:grouped", + "prepare:grouped": "sed -i '' -e 's/\\[\\]\\[\\]/[]/g' 'abis/GroupedMarketFactoryV3.json' || exit 0", "prepare:mumbai": "mustache ../smart/environments/mumbai.json subgraph.template.yaml > subgraph.yaml", "prepare:matic": "mustache ../smart/environments/matic.json subgraph.template.yaml > subgraph.yaml" },