Skip to content

Commit 173a6ce

Browse files
committed
chore: subgraph redeploy
1 parent 530bbb9 commit 173a6ce

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

subgraph/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kleros/curate-v2-subgraph",
3-
"version": "0.1.4",
3+
"version": "0.2.0",
44
"license": "MIT",
55
"scripts": {
66
"update:arbitrum-sepolia-devnet": "./scripts/update.sh arbitrumSepoliaDevnet arbitrum-sepolia",

subgraph/src/Curate.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ export function handleRuling(event: Ruling): void {
266266

267267
export function handleRequestChallenged(event: DisputeRequest): void {
268268
let curate = Curate.bind(event.address);
269-
let itemID = curate.arbitratorDisputeIDToItemID(event.params._arbitrator, event.params._arbitrableDisputeID);
269+
let itemID = curate.arbitratorDisputeIDToItemID(event.params._arbitrator, event.params._arbitratorDisputeID);
270270
let graphItemID = itemID.toHexString() + "@" + event.address.toHexString();
271271
let item = Item.load(graphItemID);
272272
if (!item) {
@@ -294,7 +294,7 @@ export function handleRequestChallenged(event: DisputeRequest): void {
294294
request.disputed = true;
295295
request.challenger = ensureUser(event.transaction.from.toHexString()).id;
296296
request.challengeTime = event.block.timestamp;
297-
request.disputeID = event.params._arbitrableDisputeID;
297+
request.disputeID = event.params._arbitratorDisputeID;
298298

299299
request.save();
300300
item.save();

subgraph/subgraph.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ dataSources:
1111
name: CurateFactory
1212
network: arbitrum-sepolia
1313
source:
14-
address: "0x1d7AEdcBBD73EE03313Ff6Ba32743d365b9A8a38"
14+
address: "0x6f824A72d67bcF76f6F55C12F6E8FcAF531818bD"
1515
abi: CurateFactory
16-
startBlock: 34231352
16+
startBlock: 143682381
1717
mapping:
1818
kind: ethereum/events
1919
apiVersion: 0.0.6

0 commit comments

Comments
 (0)