You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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:
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!
The text was updated successfully, but these errors were encountered: