Skip to content

Commit e6f63c0

Browse files
committed
chore: migration to studio
1 parent 358f1a6 commit e6f63c0

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"typechain:build": "npx typechain --target ethers-v5 --out-dir lib/typechain lib/abi/*.json",
4646
"graph:codegen": "cd subgraph && graph codegen",
4747
"graph:build": "cd subgraph && graph build",
48-
"graph:deploy": "cd subgraph && graph deploy --node https://api.thegraph.com/deploy/ kleros/kleros-moderator-bot",
48+
"graph:deploy": "cd subgraph && graph deploy --studio kleros-moderator-bot",
4949
"graph:create-local": "cd subgraph && graph create --node http://localhost:8020/ kleros/kleros-moderator-bot",
5050
"graph:remove-local": "cd subgraph && graph remove --node http://localhost:8020/ kleros/kleros-moderator-bot",
5151
"graph:deploy-local": "cd subgraph && graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 kleros/kleros-moderator-bot",
@@ -54,8 +54,9 @@
5454
"pm2:delete-all": "pm2 delete all",
5555
"postinstall": "yarn typechain:build"
5656
},
57+
"packageManager": "yarn@1.22.21+sha1.1959a18351b811cdeedbd484a8f86c3cc3bbaf72",
5758
"volta": {
58-
"node": "16.20.2",
59-
"yarn": "1.22.19"
59+
"node": "18.20.2",
60+
"yarn": "1.22.22"
6061
}
61-
}
62+
}

subgraph/subgraph.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ schema:
44
dataSources:
55
- kind: ethereum
66
name: RealityETHV30
7-
network: xdai #goerli #xdai
7+
network: gnosis #goerli #xdai
88
source:
99
address: "0xE78996A233895bE74a66F451f1019cA9734205cc" # "0x6F80C5cBCF9FbC2dA2F0675E56A5900BB70Df72f" #<-- goerli, xdai "0xE78996A233895bE74a66F451f1019cA9734205cc"
1010
abi: RealityETHV30
@@ -32,7 +32,7 @@ dataSources:
3232
file: ./src/reality-ethv-30.ts
3333
- kind: ethereum
3434
name: Realitio_v2_1_ArbitratorWithAppeals
35-
network: xdai #xdai
35+
network: gnosis #xdai
3636
source:
3737
address: "0xe04f5791d671d5C4e08ab49b39807087B591ea3e" #goerli "0x0a3fBb60D41F0Ec10f9E76368dd4e506885c3E7d" #xdai 0xe04f5791d671d5c4e08ab49b39807087b591ea3e
3838
abi: Realitio_v2_1_ArbitratorWithAppeals
@@ -58,7 +58,7 @@ dataSources:
5858
file: ./src/Realitio_v2_1_ArbitratorWithAppeals.ts
5959
- kind: ethereum
6060
name: Realitio_v2_1_ArbitratorWithAppeals_ES
61-
network: xdai #xdai
61+
network: gnosis #xdai
6262
source:
6363
address: "0x54068a67441a950ff33afa5a3247acc7188d0789" #goerli "0x8f0b33ab30D4073E0772A688A18E937beE34cd65" #xdai 0x1b433086a5c224a202fe55ef0169d1a7c1cbe584
6464
abi: Realitio_v2_1_ArbitratorWithAppeals
@@ -84,7 +84,7 @@ dataSources:
8484
file: ./src/Realitio_v2_1_ArbitratorWithAppeals.ts
8585
- kind: ethereum
8686
name: KlerosLiquid
87-
network: xdai #xdai
87+
network: gnosis #xdai
8888
source:
8989
address: "0x9C1dA9A04925bDfDedf0f6421bC7EEa8305F9002" # "0x1128eD55ab2d796fa92D2F8E1f336d745354a77A" # goerli # gnosis 0x9C1dA9A04925bDfDedf0f6421bC7EEa8305F9002
9090
abi: KlerosLiquid

0 commit comments

Comments
 (0)