From de706d349f82ec7f25c7db557c21b5b9ad0efae2 Mon Sep 17 00:00:00 2001 From: kemuru <102478601+kemuru@users.noreply.github.com> Date: Wed, 20 Nov 2024 17:52:42 +0100 Subject: [PATCH] fix: add field to interfaces, bump subgraph version in package json --- subgraph/core/schema.graphql | 1 + subgraph/package.json | 2 +- web/src/components/EvidenceCard.tsx | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/subgraph/core/schema.graphql b/subgraph/core/schema.graphql index 953a36270..e2700a5f3 100644 --- a/subgraph/core/schema.graphql +++ b/subgraph/core/schema.graphql @@ -56,6 +56,7 @@ interface Evidence { sender: User! senderAddress: String! timestamp: BigInt! + transactionHash: Bytes! name: String description: String fileURI: String diff --git a/subgraph/package.json b/subgraph/package.json index 1ffe01673..44f07b9a4 100644 --- a/subgraph/package.json +++ b/subgraph/package.json @@ -1,6 +1,6 @@ { "name": "@kleros/kleros-v2-subgraph", - "version": "0.9.0", + "version": "0.9.1", "license": "MIT", "scripts": { "update:core:arbitrum-sepolia-devnet": "./scripts/update.sh arbitrumSepoliaDevnet arbitrum-sepolia core/subgraph.yaml", diff --git a/web/src/components/EvidenceCard.tsx b/web/src/components/EvidenceCard.tsx index a887ca208..75eb614d8 100644 --- a/web/src/components/EvidenceCard.tsx +++ b/web/src/components/EvidenceCard.tsx @@ -140,6 +140,7 @@ const AttachedFileText: React.FC = () => ( interface IEvidenceCard extends Pick { sender: string; index: number; + transactionHash: string; } const EvidenceCard: React.FC = ({