diff --git a/graphs/omen-thumbnailmapping/package.json b/graphs/omen-thumbnailmapping/package.json index d3aa75a..bf9ea0a 100644 --- a/graphs/omen-thumbnailmapping/package.json +++ b/graphs/omen-thumbnailmapping/package.json @@ -3,7 +3,7 @@ "license": "UNLICENSED", "scripts": { "codegen": "graph codegen", - "build": "mkdir -p ./../../abi && jq '.abi' ./../../out/OmenThumbnailMapping.sol/OmenThumbnailMapping.json > ./../../abi/omen_thumbnailmapping.abi.json && graph build", + "build": "mkdir -p abi && jq '.abi' ./../../out/OmenThumbnailMapping.sol/OmenThumbnailMapping.json > abi/omen_thumbnailmapping.abi.json && graph build", "deploy": "graph deploy --node https://api.studio.thegraph.com/deploy/ omen-thumbnailmapping", "create-local": "graph create --node http://localhost:8020/ omen-thumbnailmapping", "remove-local": "graph remove --node http://localhost:8020/ omen-thumbnailmapping", diff --git a/graphs/omen-thumbnailmapping/subgraph.yaml b/graphs/omen-thumbnailmapping/subgraph.yaml index c8f91a9..b578a6f 100644 --- a/graphs/omen-thumbnailmapping/subgraph.yaml +++ b/graphs/omen-thumbnailmapping/subgraph.yaml @@ -19,7 +19,7 @@ dataSources: - ImageUpdated abis: - name: Contract - file: ./../../abi/omen_thumbnailmapping.abi.json + file: ./abi/omen_thumbnailmapping.abi.json eventHandlers: - event: ImageUpdated(indexed address,bytes32,indexed address) handler: handleImageUpdated