Skip to content

Commit cf1586b

Browse files
committed
chore: migrated the subgraph to the org account, bumped and cleaned the dependencies
1 parent 307616d commit cf1586b

File tree

4 files changed

+13114
-2501
lines changed

4 files changed

+13114
-2501
lines changed

.yarnrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodeLinker: node-modules

lib/bot-core.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import {getRealityETHV30} from "./ethers";
33
const _contract = require('./abi/RealityETH_v3_0.json')
44
const Web3 = require('web3')
55
const web3 = new Web3(process.env.WEB3_PROVIDER_URL)
6-
const ob = require('urbit-ob')
76

87
const contract = new web3.eth.Contract(
98
_contract,

package.json

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@
66
"dependencies": {
77
"@aws-sdk/client-dynamodb": "^3.210.0",
88
"@aws-sdk/lib-dynamodb": "^3.210.0",
9-
"@graphprotocol/graph-cli": "^0.25.1",
109
"@graphprotocol/graph-ts": "^0.27.0",
1110
"@netlify/functions": "^1.6.0",
12-
"@types/node-telegram-bot-api": "^0.61.7",
1311
"axios": "^1.4.0",
1412
"better-sqlite3": "^8.4.0",
1513
"cache-manager": "^5.1.3",
@@ -20,18 +18,19 @@
2018
"graphql-request": "^3.7.0",
2119
"http-status-codes": "^2.2.0",
2220
"markdown-escape": "^1.1.0",
23-
"netlify-cli": "^16.0.2",
2421
"node-cache": "^5.1.2",
2522
"node-fetch": "2",
2623
"node-telegram-bot-api": "^0.61.0",
2724
"p-queue": "^6.6.2",
28-
"pm2": "^5.2.0",
29-
"urbit-ob": "^5.0.1",
3025
"web3": "^1.8.1"
3126
},
3227
"devDependencies": {
28+
"@graphprotocol/graph-cli": "^0.60.0",
3329
"@typechain/ethers-v5": "^8.0.5",
30+
"@types/node-telegram-bot-api": "^0.61.7",
3431
"hardhat": "^2.8.3",
32+
"netlify-cli": "^16.0.2",
33+
"pm2": "^5.2.0",
3534
"ts-node": "^10.4.0",
3635
"typechain": "^6.0.5",
3736
"typescript": "^4.5.4"
@@ -46,13 +45,17 @@
4645
"typechain:build": "npx typechain --target ethers-v5 --out-dir lib/typechain lib/abi/*.json",
4746
"graph:codegen": "cd subgraph && graph codegen",
4847
"graph:build": "cd subgraph && graph build",
49-
"graph:deploy": "cd subgraph && graph deploy --node https://api.thegraph.com/deploy/ shotaronowhere/kleros-moderator-bot",
50-
"graph:create-local": "cd subgraph && graph create --node http://localhost:8020/ shotaronowhere/kleros-moderator-bot",
51-
"graph:remove-local": "cd subgraph && graph remove --node http://localhost:8020/ shotaronowhere/kleros-moderator-bot",
52-
"graph:deploy-local": "cd subgraph && graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 shotaronowhere/kleros-moderator-bot",
48+
"graph:deploy": "cd subgraph && graph deploy --node https://api.thegraph.com/deploy/ kleros/kleros-moderator-bot",
49+
"graph:create-local": "cd subgraph && graph create --node http://localhost:8020/ kleros/kleros-moderator-bot",
50+
"graph:remove-local": "cd subgraph && graph remove --node http://localhost:8020/ kleros/kleros-moderator-bot",
51+
"graph:deploy-local": "cd subgraph && graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 kleros/kleros-moderator-bot",
5352
"pm2:start": "pm2 start ecosystem.config.js",
5453
"pm2:stop-all": "pm2 stop all",
5554
"pm2:delete-all": "pm2 delete all",
5655
"postinstall": "yarn typechain:build"
56+
},
57+
"volta": {
58+
"node": "16.20.2",
59+
"yarn": "1.22.19"
5760
}
58-
}
61+
}

0 commit comments

Comments
 (0)