Skip to content

Commit 086871b

Browse files
committed
feat: added pruning settings
1 parent 8b49d17 commit 086871b

File tree

3 files changed

+2545
-491
lines changed

3 files changed

+2545
-491
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@
4646
"prepare:test-l2": "yarn && yarn prep:addresses:test:l2 && mustache ./config/generatedAddresses.json subgraph.template.yaml > subgraph.yaml && graph codegen --output-dir src/types/"
4747
},
4848
"devDependencies": {
49-
"@graphprotocol/contracts": "5.3.3",
50-
"@graphprotocol/graph-cli": "^0.49.0",
51-
"@graphprotocol/graph-ts": "^0.29.1",
49+
"@graphprotocol/contracts": "6.2.0",
50+
"@graphprotocol/graph-cli": "0.68.0",
51+
"@graphprotocol/graph-ts": "0.32.0",
5252
"@types/node": "^14.0.13",
5353
"@typescript-eslint/eslint-plugin": "^3.3.0",
5454
"@typescript-eslint/parser": "^3.3.0",

subgraph.template.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
1-
specVersion: 0.0.5
1+
specVersion: 1.0.0
22
description: Core Graph Network subgraph (FDS version)
33
repository: https://github.com/graphprotocol/graph-network-subgraph
44
schema:
55
file: ./schema.graphql
66
features:
77
- fullTextSearch
8+
indexerHints:
9+
{{#isL1}}
10+
prune: 400
11+
{{/isL1}}
12+
{{^isL1}}
13+
prune: 15000
14+
{{/isL1}}
815
dataSources:
916
- kind: ethereum/contract
1017
name: Controller

0 commit comments

Comments
 (0)