From 459fbc6f7a0b4460a635f2345a41a43a512622b3 Mon Sep 17 00:00:00 2001 From: Daniel Lima Date: Mon, 30 Oct 2023 17:01:48 -0300 Subject: [PATCH] fix mustache --- package.json | 2 +- subgraph.template.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index ab1a64f..bcf0fc1 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "scripts": { "graph:auth": "graph auth --product hosted-service", "build:goerli": "mustache ./config/goerli.json subgraph.template.yaml > subgraph.yaml && graph codegen subgraph.yaml && graph build subgraph.yaml", - "build:mumbai": "mustache ./config/mumbai.json subgraph.template.yaml > subgraph.yamll && graph codegen subgraph.yaml && graph build subgraph.yaml", + "build:mumbai": "mustache ./config/mumbai.json subgraph.template.yaml > subgraph.yaml && graph codegen subgraph.yaml && graph build subgraph.yaml", "build:polygon": "mustache ./config/polygon.json subgraph.template.yaml > subgraph.yaml && graph codegen subgraph.yaml && graph build subgraph.yaml", "deploy:goerli": "graph deploy --node https://api.thegraph.com/deploy/orium-network/nft-roles-goerli", "deploy:mumbai": "graph deploy --node https://api.thegraph.com/deploy/orium-network/nft-roles-mumbai", diff --git a/subgraph.template.yaml b/subgraph.template.yaml index c811120..20b2268 100644 --- a/subgraph.template.yaml +++ b/subgraph.template.yaml @@ -6,7 +6,7 @@ dataSources: {{#erc721}} - name: {{name}} kind: ethereum - network: matic + network: {{network}} source: abi: ERC721 address: '{{address}}' @@ -30,7 +30,7 @@ dataSources: {{#erc1155}} - name: {{name}} kind: ethereum - network: matic + network: {{network}} source: abi: ERC1155 address: '{{address}}' @@ -55,7 +55,7 @@ dataSources: - name: ERC7432 kind: ethereum - network: matic + network: {{network}} source: abi: ERC7432 mapping: