From 2617a4b0306643512962a76653b12949c1affb5c Mon Sep 17 00:00:00 2001 From: Juan Manuel Rodriguez Defago Date: Wed, 29 Dec 2021 18:07:28 -0300 Subject: [PATCH] Updated graph-cli and graph-ts to fix non-nullables being initialized --- package.json | 6 +++--- subgraph.template.yaml | 3 --- yarn.lock | 16 ++++++++-------- 3 files changed, 11 insertions(+), 14 deletions(-) diff --git a/package.json b/package.json index b5460329..8a13716c 100644 --- a/package.json +++ b/package.json @@ -37,8 +37,8 @@ }, "devDependencies": { "@graphprotocol/contracts": "^1.1.0", - "@graphprotocol/graph-cli": "^0.22.3", - "@graphprotocol/graph-ts": "^0.22.1", + "@graphprotocol/graph-cli": "^0.25.1", + "@graphprotocol/graph-ts": "^0.24.1", "@types/node": "^14.0.13", "@typescript-eslint/eslint-plugin": "^3.3.0", "@typescript-eslint/parser": "^3.3.0", @@ -54,4 +54,4 @@ }, "homepage": "https://github.com/graphprotocol/graph-network-subgraph#readme", "dependencies": {} -} \ No newline at end of file +} diff --git a/subgraph.template.yaml b/subgraph.template.yaml index 4762c61a..69e5f383 100644 --- a/subgraph.template.yaml +++ b/subgraph.template.yaml @@ -1,9 +1,6 @@ specVersion: 0.0.2 description: The Graph Network Smart Contracts on Ethereum repository: https://github.com/graphprotocol/contracts/graph-network-subgraph -graft: - base: QmVCEVXN4SSeKQfgpQoc6j4APYM4xg5ssfcEJVGoQkd26K - block: 13887937 schema: file: ./schema.graphql dataSources: diff --git a/yarn.lock b/yarn.lock index 055c374b..08796715 100644 --- a/yarn.lock +++ b/yarn.lock @@ -380,10 +380,10 @@ "@ethersproject/contracts" "^5.0.3" ethers "^5.0.9" -"@graphprotocol/graph-cli@^0.22.3": - version "0.22.4" - resolved "https://registry.yarnpkg.com/@graphprotocol/graph-cli/-/graph-cli-0.22.4.tgz#dc7aec114a49fe2579e0098a465bbabe88298aed" - integrity sha512-+2OcByjz0k9F2guz6hQ6lRiWBrRj/Pc5ShIZjK69P1w3eICQtFn/F1j5zTbeWkr/tL//e2byf0MIxxMBo2xToQ== +"@graphprotocol/graph-cli@^0.25.1": + version "0.25.1" + resolved "https://registry.yarnpkg.com/@graphprotocol/graph-cli/-/graph-cli-0.25.1.tgz#32a6c078f1cc3458a3f43c4205c2ae6f5c35725f" + integrity sha512-FPdxWDITWeI0u3VgfbaeaaWGDuaVY6QsAAinZSyPuLVBQSuMYdtzfhtRPRw5T2IL5Eb1j29Ir8Ty2vgY2lJ0rw== dependencies: assemblyscript "0.19.10" binary-install-raw "0.0.13" @@ -416,10 +416,10 @@ dependencies: assemblyscript "0.19.10" -"@graphprotocol/graph-ts@^0.22.1": - version "0.22.1" - resolved "https://registry.yarnpkg.com/@graphprotocol/graph-ts/-/graph-ts-0.22.1.tgz#3189b2495b33497280f617316cce68074d48e236" - integrity sha512-T5xrHN0tHJwd7ZnSTLhk5hAL3rCIp6rJ40kBCrETnv1mfK9hVyoojJK6VtBQXTbLsYtKe4SYjjD0cdOsAR9QiA== +"@graphprotocol/graph-ts@^0.24.1": + version "0.24.1" + resolved "https://registry.yarnpkg.com/@graphprotocol/graph-ts/-/graph-ts-0.24.1.tgz#50961b52b5383f9c5cf5e6e23fa039f24e729ddf" + integrity sha512-2vU4m5ZPQIqMlMce/z5vmOtGHRlRmcRhMfemS3NIwxCSxSBGVnX2zb7QBTzzdQKGwsAZdbz6V0okkOtvohELfQ== dependencies: assemblyscript "0.19.10"