Skip to content

Commit 1b9cc64

Browse files
committed
chore: devnet subgraphs redeployed to Alchemy
1 parent b5c639c commit 1b9cc64

File tree

5 files changed

+33
-36
lines changed

5 files changed

+33
-36
lines changed

subgraph/core-neo/subgraph.template.yaml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ dataSources:
3434
- name: DisputeKitClassic
3535
file: ../../contracts/deployments/_PLACEHOLDER_/DisputeKitClassicNeo.json
3636
- name: KlerosCore
37-
file: ../../contracts/deployments/_PLACEHOLDER_/KlerosCoreNeo.json
37+
# FIX: temporarily point to the abi with event addition.
38+
file: ./abi-migrations/KlerosCoreNeo.json
3839
eventHandlers:
3940
- event: AppealDecision(indexed uint256,indexed address)
4041
handler: handleAppealDecision
@@ -45,6 +46,9 @@ dataSources:
4546
handler: handleDraw
4647
- event: NewPeriod(indexed uint256,uint8)
4748
handler: handleNewPeriod
49+
- event: CourtCreated(indexed uint96,indexed uint96,bool,uint256,uint256,uint256,uint256,uint256[4],uint256[])
50+
handler: handleCourtCreated
51+
# FIX: This is support for old signature
4852
- event: CourtCreated(indexed uint256,indexed uint96,bool,uint256,uint256,uint256,uint256,uint256[4],uint256[])
4953
handler: handleCourtCreated
5054
- event: CourtModified(indexed uint96,bool,uint256,uint256,uint256,uint256,uint256[4])
@@ -140,7 +144,7 @@ dataSources:
140144
file: ../../contracts/deployments/_PLACEHOLDER_/DisputeKitClassicNeo.json
141145
- name: KlerosCore
142146
# FIX: temporarily point to abi with event addition
143-
file: ./abi-migrations/KlerosCore.json
147+
file: ./abi-migrations/KlerosCoreNeo.json
144148
eventHandlers:
145149
- event: DisputeCreation(indexed uint256,uint256,bytes)
146150
handler: handleDisputeCreation
@@ -191,16 +195,16 @@ dataSources:
191195
- JurorTokensPerCourt
192196
abis:
193197
- name: SortitionModule
194-
file: ../../contracts/deployments/_PLACEHOLDER_/SortitionModuleNeo.json
198+
# FIX: temporarily point to abi with event addition
199+
file: ./abi-migrations/SortitionModuleNeo.json
195200
eventHandlers:
196-
- event: StakeDelayedAlreadyTransferredDeposited(indexed address,uint256,uint256)
197-
handler: handleStakeDelayedAlreadyTransferredDeposited
198-
- event: StakeDelayedAlreadyTransferredWithdrawn(indexed address,indexed uint96,uint256)
199-
handler: handleStakeDelayedAlreadyTransferredWithdrawn
200-
- event: StakeDelayedNotTransferred(indexed address,uint256,uint256)
201-
handler: handleStakeDelayedNotTransferred
201+
- event: StakeDelayed(indexed address,indexed uint96,uint256)
202+
handler: handleStakeDelayed
202203
- event: StakeLocked(indexed address,uint256,bool)
203204
handler: handleStakeLocked
204205
- event: StakeSet(indexed address,uint256,uint256,uint256)
205206
handler: handleStakeSet
207+
# FIX: old stake set signature
208+
- event: StakeSet(indexed address,uint256,uint256)
209+
handler: handleStakeSet
206210
file: ./src/SortitionModule.ts

subgraph/core/subgraph.template.yaml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -199,15 +199,8 @@ dataSources:
199199
# FIX: temporarily point to abi with event addition
200200
file: ./abi-migrations/SortitionModule.json
201201
eventHandlers:
202-
- event: StakeDelayedAlreadyTransferredDeposited(indexed address,uint256,uint256)
203-
handler: handleStakeDelayedAlreadyTransferredDeposited
204-
# FIX: temporarily indexing old event name
205-
- event: StakeDelayedAlreadyTransferred(indexed address,uint256,uint256)
206-
handler: handleStakeDelayedAlreadyTransferred
207-
- event: StakeDelayedAlreadyTransferredWithdrawn(indexed address,indexed uint96,uint256)
208-
handler: handleStakeDelayedAlreadyTransferredWithdrawn
209-
- event: StakeDelayedNotTransferred(indexed address,uint256,uint256)
210-
handler: handleStakeDelayedNotTransferred
202+
- event: StakeDelayed(indexed address,indexed uint96,uint256)
203+
handler: handleStakeDelayed
211204
- event: StakeLocked(indexed address,uint256,bool)
212205
handler: handleStakeLocked
213206
- event: StakeSet(indexed address,uint256,uint256,uint256)

subgraph/core/subgraph.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ dataSources:
1111
name: KlerosCore
1212
network: arbitrum-sepolia
1313
source:
14-
address: "0x4838e31E0ea315232c431598110FE677cAF2D6E6"
14+
address: "0x1Bd44c4a4511DbFa7DC1d5BC201635596E7200f9"
1515
abi: KlerosCore
16-
startBlock: 141215236
16+
startBlock: 175286093
1717
mapping:
1818
kind: ethereum/events
1919
apiVersion: 0.0.7
@@ -71,9 +71,9 @@ dataSources:
7171
name: PolicyRegistry
7272
network: arbitrum-sepolia
7373
source:
74-
address: "0x31d067405184d7FaA64b0834511cBcFAF32CdC4b"
74+
address: "0xd8681dBF525ecBda2F799BFddB96840065075e8A"
7575
abi: PolicyRegistry
76-
startBlock: 141215158
76+
startBlock: 175286057
7777
mapping:
7878
kind: ethereum/events
7979
apiVersion: 0.0.7
@@ -91,9 +91,9 @@ dataSources:
9191
name: DisputeKitClassic
9292
network: arbitrum-sepolia
9393
source:
94-
address: "0x2246821E1313A93e2F8CdF7a3422d078f560b457"
94+
address: "0xeEEbbbff8f377dCFc7d4F7876C531db0d22720e1"
9595
abi: DisputeKitClassic
96-
startBlock: 141215195
96+
startBlock: 175286074
9797
mapping:
9898
kind: ethereum/events
9999
apiVersion: 0.0.7
@@ -127,9 +127,9 @@ dataSources:
127127
name: DisputeKitShutter
128128
network: arbitrum-sepolia
129129
source:
130-
address: "0x09F3d00B995186D76Af9AA8627D06351d0d9f950"
130+
address: "0xfE0a958bc744Bb9E224E1822625B53134ac5CB69"
131131
abi: DisputeKitShutter
132-
startBlock: 148194178
132+
startBlock: 175286126
133133
mapping:
134134
kind: ethereum/events
135135
apiVersion: 0.0.7
@@ -165,9 +165,9 @@ dataSources:
165165
name: EvidenceModule
166166
network: arbitrum-sepolia
167167
source:
168-
address: "0x990f44d19a5F46889801B31bf58e0536fBECf27C"
168+
address: "0xA1F72e0445fc395A393247F5B8c958Ec9b7C0B49"
169169
abi: EvidenceModule
170-
startBlock: 141215177
170+
startBlock: 175286065
171171
mapping:
172172
kind: ethereum/events
173173
apiVersion: 0.0.7
@@ -186,9 +186,9 @@ dataSources:
186186
name: SortitionModule
187187
network: arbitrum-sepolia
188188
source:
189-
address: "0xb34651b65A40553C444c6F0D27286C80ec34fbfD"
189+
address: "0x6F24A90fBBeabB2B4343Bb9c1eD8ee6AcAa50663"
190190
abi: SortitionModule
191-
startBlock: 141215215
191+
startBlock: 175286083
192192
mapping:
193193
kind: ethereum/events
194194
apiVersion: 0.0.7

subgraph/dispute-template-registry/subgraph.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ schema:
77
dataSources:
88
- kind: ethereum
99
name: DisputeTemplateRegistry
10-
network: arbitrum-one
10+
network: arbitrum-sepolia
1111
source:
12-
address: "0x0cFBaCA5C72e7Ca5fFABE768E135654fB3F2a5A2"
12+
address: "0xc852F94f90E3B06Da6eCfB61d76561ECfb94613f"
1313
abi: DisputeTemplateRegistry
14-
startBlock: 272063329
14+
startBlock: 175286171
1515
mapping:
1616
kind: ethereum/events
1717
apiVersion: 0.0.7
@@ -20,7 +20,7 @@ dataSources:
2020
- DisputeTemplate
2121
abis:
2222
- name: DisputeTemplateRegistry
23-
file: ../../contracts/deployments/arbitrum/DisputeTemplateRegistry.json
23+
file: ../../contracts/deployments/arbitrumSepoliaDevnet/DisputeTemplateRegistry.json
2424
eventHandlers:
2525
- event: DisputeTemplate(indexed uint256,indexed string,string,string)
2626
handler: handleDisputeTemplate

subgraph/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@kleros/kleros-v2-subgraph",
3-
"version": "0.16.4",
4-
"drtVersion": "0.12.2",
3+
"version": "0.17.0",
4+
"drtVersion": "0.13.0",
55
"license": "MIT",
66
"scripts": {
77
"update:core:arbitrum-sepolia-devnet": "./scripts/update.sh arbitrumSepoliaDevnet arbitrum-sepolia core/subgraph.yaml",

0 commit comments

Comments
 (0)