forked from graphprotocol/ens-subgraph
-
Notifications
You must be signed in to change notification settings - Fork 158
Open
Description
I run the command:
yarn setup
You get an error:
✖ Failed to deploy to Graph node http://127.0.0.1:8020/: subgraph resolve error: resolve error: Serialization error: Invalid operation type error. at line 28 column 3
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I deleted the contents of the schema.graphql file:
- kind: ethereum/contract
name: NameWrapper
network: ethereum
source:
abi: NameWrapper
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
file: ./src/nameWrapper.ts
entities:
- NameWrapper
abis:
- name: NameWrapper
file: ./abis/NameWrapper.json
eventHandlers:
- event: "NameWrapped(indexed bytes32,bytes,address,uint32,uint64)"
handler: handleNameWrapped
- event: "NameUnwrapped(indexed bytes32,address)"
handler: handleNameUnwrapped
- event: "FusesSet(indexed bytes32,uint32,uint64)"
handler: handleFusesSet
yarn setup
It works.
Revision: 64564ba
Please help me!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels