We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c066e3d commit 6cde014Copy full SHA for 6cde014
tests/runner-tests/end-block/subgraph.yaml
@@ -23,4 +23,24 @@ dataSources:
23
eventHandlers:
24
- event: TestEvent(string)
25
handler: handleTestEvent
26
+ file: ./src/mapping.ts
27
+ # Datasource without endBlock to keep the subgraph running
28
+ - kind: ethereum/contract
29
+ name: Contract2
30
+ network: test
31
+ source:
32
+ address: "0x0000000000000000000000000000000000000001"
33
+ abi: Contract
34
+ mapping:
35
+ kind: ethereum/events
36
+ apiVersion: 0.0.7
37
+ language: wasm/assemblyscript
38
+ entities:
39
+ - Gravatar
40
+ abis:
41
+ - name: Contract
42
+ file: ./abis/Contract.abi
43
+ eventHandlers:
44
+ - event: TestEvent(string)
45
+ handler: handleTestEvent
46
file: ./src/mapping.ts
0 commit comments