Skip to content

Commit

Permalink
chore: migration to studio
Browse files Browse the repository at this point in the history
  • Loading branch information
jaybuidl committed Apr 16, 2024
1 parent 358f1a6 commit e6f63c0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"typechain:build": "npx typechain --target ethers-v5 --out-dir lib/typechain lib/abi/*.json",
"graph:codegen": "cd subgraph && graph codegen",
"graph:build": "cd subgraph && graph build",
"graph:deploy": "cd subgraph && graph deploy --node https://api.thegraph.com/deploy/ kleros/kleros-moderator-bot",
"graph:deploy": "cd subgraph && graph deploy --studio kleros-moderator-bot",
"graph:create-local": "cd subgraph && graph create --node http://localhost:8020/ kleros/kleros-moderator-bot",
"graph:remove-local": "cd subgraph && graph remove --node http://localhost:8020/ kleros/kleros-moderator-bot",
"graph:deploy-local": "cd subgraph && graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 kleros/kleros-moderator-bot",
Expand All @@ -54,8 +54,9 @@
"pm2:delete-all": "pm2 delete all",
"postinstall": "yarn typechain:build"
},
"packageManager": "yarn@1.22.21+sha1.1959a18351b811cdeedbd484a8f86c3cc3bbaf72",
"volta": {
"node": "16.20.2",
"yarn": "1.22.19"
"node": "18.20.2",
"yarn": "1.22.22"
}
}
}
8 changes: 4 additions & 4 deletions subgraph/subgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ schema:
dataSources:
- kind: ethereum
name: RealityETHV30
network: xdai #goerli #xdai
network: gnosis #goerli #xdai
source:
address: "0xE78996A233895bE74a66F451f1019cA9734205cc" # "0x6F80C5cBCF9FbC2dA2F0675E56A5900BB70Df72f" #<-- goerli, xdai "0xE78996A233895bE74a66F451f1019cA9734205cc"
abi: RealityETHV30
Expand Down Expand Up @@ -32,7 +32,7 @@ dataSources:
file: ./src/reality-ethv-30.ts
- kind: ethereum
name: Realitio_v2_1_ArbitratorWithAppeals
network: xdai #xdai
network: gnosis #xdai
source:
address: "0xe04f5791d671d5C4e08ab49b39807087B591ea3e" #goerli "0x0a3fBb60D41F0Ec10f9E76368dd4e506885c3E7d" #xdai 0xe04f5791d671d5c4e08ab49b39807087b591ea3e
abi: Realitio_v2_1_ArbitratorWithAppeals
Expand All @@ -58,7 +58,7 @@ dataSources:
file: ./src/Realitio_v2_1_ArbitratorWithAppeals.ts
- kind: ethereum
name: Realitio_v2_1_ArbitratorWithAppeals_ES
network: xdai #xdai
network: gnosis #xdai
source:
address: "0x54068a67441a950ff33afa5a3247acc7188d0789" #goerli "0x8f0b33ab30D4073E0772A688A18E937beE34cd65" #xdai 0x1b433086a5c224a202fe55ef0169d1a7c1cbe584
abi: Realitio_v2_1_ArbitratorWithAppeals
Expand All @@ -84,7 +84,7 @@ dataSources:
file: ./src/Realitio_v2_1_ArbitratorWithAppeals.ts
- kind: ethereum
name: KlerosLiquid
network: xdai #xdai
network: gnosis #xdai
source:
address: "0x9C1dA9A04925bDfDedf0f6421bC7EEa8305F9002" # "0x1128eD55ab2d796fa92D2F8E1f336d745354a77A" # goerli # gnosis 0x9C1dA9A04925bDfDedf0f6421bC7EEa8305F9002
abi: KlerosLiquid
Expand Down

0 comments on commit e6f63c0

Please sign in to comment.