Skip to content

Commit

Permalink
feat: added pruning settings
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmardefago committed Feb 20, 2024
1 parent a9ffec6 commit c255370
Show file tree
Hide file tree
Showing 3 changed files with 2,545 additions and 491 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@
"prepare:test-l2": "yarn && yarn prep:addresses:test:l2 && mustache ./config/generatedAddresses.json subgraph.template.yaml > subgraph.yaml && graph codegen --output-dir src/types/"
},
"devDependencies": {
"@graphprotocol/contracts": "5.3.3",
"@graphprotocol/graph-cli": "^0.49.0",
"@graphprotocol/graph-ts": "^0.29.1",
"@graphprotocol/contracts": "6.2.0",
"@graphprotocol/graph-cli": "0.68.0",
"@graphprotocol/graph-ts": "0.32.0",
"@types/node": "^14.0.13",
"@typescript-eslint/eslint-plugin": "^3.3.0",
"@typescript-eslint/parser": "^3.3.0",
Expand Down
9 changes: 8 additions & 1 deletion subgraph.template.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
specVersion: 0.0.5
specVersion: 1.0.0
description: Core Graph Network subgraph (FDS version)
repository: https://github.com/graphprotocol/graph-network-subgraph
schema:
file: ./schema.graphql
features:
- fullTextSearch
indexerHints:
{{#isL1}}
prune: 400
{{/isL1}}
{{^isL1}}
prune: 15000
{{/isL1}}
dataSources:
- kind: ethereum/contract
name: Controller
Expand Down
Loading

0 comments on commit c255370

Please sign in to comment.